共用方式為


ReachabilityAnalysisRunProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.ReachabilityAnalysisRunProperties

Implements

public final class ReachabilityAnalysisRunProperties
implements JsonSerializable<ReachabilityAnalysisRunProperties>

Represents the Reachability Analysis Run properties.

Constructor Summary

Constructor Description
ReachabilityAnalysisRunProperties()

Creates an instance of ReachabilityAnalysisRunProperties class.

Method Summary

Modifier and Type Method and Description
String analysisResult()

Get the analysisResult property: The analysisResult property.

String description()

Get the description property: The description property.

String errorMessage()

Get the errorMessage property: The errorMessage property.

static ReachabilityAnalysisRunProperties fromJson(JsonReader jsonReader)

Reads an instance of ReachabilityAnalysisRunProperties from the JsonReader.

IntentContent intentContent()

Get the intentContent property: Intent information.

String intentId()

Get the intentId property: Id of the intent resource to run analysis on.

ProvisioningState provisioningState()

Get the provisioningState property: Provisioning states of a resource.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ReachabilityAnalysisRunProperties withDescription(String description)

Set the description property: The description property.

ReachabilityAnalysisRunProperties withIntentId(String intentId)

Set the intentId property: Id of the intent resource to run analysis on.

ReachabilityAnalysisRunProperties withProvisioningState(ProvisioningState provisioningState)

Set the provisioningState property: Provisioning states of a resource.

Methods inherited from java.lang.Object

Constructor Details

ReachabilityAnalysisRunProperties

public ReachabilityAnalysisRunProperties()

Creates an instance of ReachabilityAnalysisRunProperties class.

Method Details

analysisResult

public String analysisResult()

Get the analysisResult property: The analysisResult property.

Returns:

the analysisResult value.

description

public String description()

Get the description property: The description property.

Returns:

the description value.

errorMessage

public String errorMessage()

Get the errorMessage property: The errorMessage property.

Returns:

the errorMessage value.

fromJson

public static ReachabilityAnalysisRunProperties fromJson(JsonReader jsonReader)

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:

IOException

- If the deserialized JSON object was missing any required properties.

intentContent

public IntentContent intentContent()

Get the intentContent property: Intent information.

Returns:

the intentContent value.

intentId

public String intentId()

Get the intentId property: Id of the intent resource to run analysis on.

Returns:

the intentId value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Provisioning states of a resource.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

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.

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.

Applies to