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 Summary
ConstructorsConstructorDescriptionCreates an instance of ReachabilityAnalysisRunProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the analysisResult property: The analysisResult property.Get the description property: The description property.Get the errorMessage property: The errorMessage property.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ReachabilityAnalysisRunProperties from the JsonReader.Get the intentContent property: Intent information.intentId()Get the intentId property: Id of the intent resource to run analysis on.Get the provisioningState property: Provisioning states of a resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withDescription(String description) Set the description property: The description property.withIntentId(String intentId) Set the intentId property: Id of the intent resource to run analysis on.withProvisioningState(ProvisioningState provisioningState) Set the provisioningState property: Provisioning states of a resource.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
-
ReachabilityAnalysisRunProperties
public ReachabilityAnalysisRunProperties()Creates an instance of ReachabilityAnalysisRunProperties class.
-
-
Method Details
-
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 ReachabilityAnalysisRunProperties object itself.
-
intentId
Get the intentId property: Id of the intent resource to run analysis on.- Returns:
- the intentId value.
-
withIntentId
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
Get the intentContent property: Intent information.- Returns:
- the intentContent value.
-
analysisResult
Get the analysisResult property: The analysisResult property.- Returns:
- the analysisResult value.
-
errorMessage
Get the errorMessage property: The errorMessage property.- Returns:
- the errorMessage value.
-
provisioningState
Get the provisioningState property: Provisioning states of a resource.- Returns:
- the provisioningState value.
-
withProvisioningState
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
- Specified by:
toJsonin interfacecom.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.
-