Class ReachabilityAnalysisIntentProperties
java.lang.Object
com.azure.resourcemanager.network.models.ReachabilityAnalysisIntentProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ReachabilityAnalysisIntentProperties>
public final class ReachabilityAnalysisIntentProperties
extends Object
implements com.azure.json.JsonSerializable<ReachabilityAnalysisIntentProperties>
Represents the Reachability Analysis Intent properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ReachabilityAnalysisIntentProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: The description property.Get the destinationResourceId property: Destination resource id to verify the reachability path of.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ReachabilityAnalysisIntentProperties from the JsonReader.Get the ipTraffic property: IP traffic information.Get the provisioningState property: Provisioning states of a resource.Get the sourceResourceId property: Source resource id to verify the reachability path of.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withDescription(String description) Set the description property: The description property.withDestinationResourceId(String destinationResourceId) Set the destinationResourceId property: Destination resource id to verify the reachability path of.withIpTraffic(IpTraffic ipTraffic) Set the ipTraffic property: IP traffic information.withProvisioningState(ProvisioningState provisioningState) Set the provisioningState property: Provisioning states of a resource.withSourceResourceId(String sourceResourceId) Set the sourceResourceId property: Source resource id to verify the reachability path of.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ReachabilityAnalysisIntentProperties
public ReachabilityAnalysisIntentProperties()Creates an instance of ReachabilityAnalysisIntentProperties class.
-
-
Method Details
-
provisioningState
Get the provisioningState property: Provisioning states of a resource.- Returns:
- the provisioningState value.
-
withProvisioningState
public ReachabilityAnalysisIntentProperties withProvisioningState(ProvisioningState provisioningState) Set the provisioningState property: Provisioning states of a resource.- Parameters:
provisioningState- the provisioningState value to set.- Returns:
- the ReachabilityAnalysisIntentProperties object itself.
-
description
Get the description property: The description property.- Returns:
- the description value.
-
withDescription
Set the description property: The description property.- Parameters:
description- the description value to set.- Returns:
- the ReachabilityAnalysisIntentProperties object itself.
-
sourceResourceId
Get the sourceResourceId property: Source resource id to verify the reachability path of.- Returns:
- the sourceResourceId value.
-
withSourceResourceId
Set the sourceResourceId property: Source resource id to verify the reachability path of.- Parameters:
sourceResourceId- the sourceResourceId value to set.- Returns:
- the ReachabilityAnalysisIntentProperties object itself.
-
destinationResourceId
Get the destinationResourceId property: Destination resource id to verify the reachability path of.- Returns:
- the destinationResourceId value.
-
withDestinationResourceId
Set the destinationResourceId property: Destination resource id to verify the reachability path of.- Parameters:
destinationResourceId- the destinationResourceId value to set.- Returns:
- the ReachabilityAnalysisIntentProperties object itself.
-
ipTraffic
Get the ipTraffic property: IP traffic information.- Returns:
- the ipTraffic value.
-
withIpTraffic
Set the ipTraffic property: IP traffic information.- Parameters:
ipTraffic- the ipTraffic value to set.- Returns:
- the ReachabilityAnalysisIntentProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ReachabilityAnalysisIntentProperties>- Throws:
IOException
-
fromJson
public static ReachabilityAnalysisIntentProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ReachabilityAnalysisIntentProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ReachabilityAnalysisIntentProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the ReachabilityAnalysisIntentProperties.
-