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 Details

    • ReachabilityAnalysisIntentProperties

      public ReachabilityAnalysisIntentProperties()
      Creates an instance of ReachabilityAnalysisIntentProperties class.
  • Method Details

    • provisioningState

      public ProvisioningState 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

      public String description()
      Get the description property: The description property.
      Returns:
      the description value.
    • withDescription

      public ReachabilityAnalysisIntentProperties withDescription(String description)
      Set the description property: The description property.
      Parameters:
      description - the description value to set.
      Returns:
      the ReachabilityAnalysisIntentProperties object itself.
    • sourceResourceId

      public String sourceResourceId()
      Get the sourceResourceId property: Source resource id to verify the reachability path of.
      Returns:
      the sourceResourceId value.
    • withSourceResourceId

      public ReachabilityAnalysisIntentProperties withSourceResourceId(String sourceResourceId)
      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

      public String destinationResourceId()
      Get the destinationResourceId property: Destination resource id to verify the reachability path of.
      Returns:
      the destinationResourceId value.
    • withDestinationResourceId

      public ReachabilityAnalysisIntentProperties withDestinationResourceId(String destinationResourceId)
      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

      public IpTraffic ipTraffic()
      Get the ipTraffic property: IP traffic information.
      Returns:
      the ipTraffic value.
    • withIpTraffic

      public ReachabilityAnalysisIntentProperties withIpTraffic(IpTraffic ipTraffic)
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.