Class ReachabilityAnalysisRunProperties

java.lang.Object
com.azure.resourcemanager.network.models.ReachabilityAnalysisRunProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<ReachabilityAnalysisRunProperties>

public final class ReachabilityAnalysisRunProperties extends Object implements com.azure.json.JsonSerializable<ReachabilityAnalysisRunProperties>
Represents the Reachability Analysis Run properties.
  • Constructor Details

    • ReachabilityAnalysisRunProperties

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

    • description

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

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

      public String intentId()
      Get the intentId property: Id of the intent resource to run analysis on.
      Returns:
      the intentId value.
    • withIntentId

      public ReachabilityAnalysisRunProperties withIntentId(String intentId)
      Set the intentId property: Id of the intent resource to run analysis on.
      Parameters:
      intentId - the intentId value to set.
      Returns:
      the ReachabilityAnalysisRunProperties object itself.
    • intentContent

      public IntentContent intentContent()
      Get the intentContent property: Intent information.
      Returns:
      the intentContent value.
    • analysisResult

      public String analysisResult()
      Get the analysisResult property: The analysisResult property.
      Returns:
      the analysisResult value.
    • errorMessage

      public String errorMessage()
      Get the errorMessage property: The errorMessage property.
      Returns:
      the errorMessage value.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: Provisioning states of a resource.
      Returns:
      the provisioningState value.
    • withProvisioningState

      public ReachabilityAnalysisRunProperties withProvisioningState(ProvisioningState provisioningState)
      Set the provisioningState property: Provisioning states of a resource.
      Parameters:
      provisioningState - the provisioningState value to set.
      Returns:
      the ReachabilityAnalysisRunProperties 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<ReachabilityAnalysisRunProperties>
      Throws:
      IOException
    • fromJson

      public static ReachabilityAnalysisRunProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ReachabilityAnalysisRunProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ReachabilityAnalysisRunProperties 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 ReachabilityAnalysisRunProperties.