Sdílet prostřednictvím


ReachabilityAnalysisIntentProperties Class

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

Implements

public final class ReachabilityAnalysisIntentProperties
implements JsonSerializable<ReachabilityAnalysisIntentProperties>

Represents the Reachability Analysis Intent properties.

Constructor Summary

Constructor Description
ReachabilityAnalysisIntentProperties()

Creates an instance of ReachabilityAnalysisIntentProperties class.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: The description property.

String destinationResourceId()

Get the destinationResourceId property: Destination resource id to verify the reachability path of.

static ReachabilityAnalysisIntentProperties fromJson(JsonReader jsonReader)

Reads an instance of ReachabilityAnalysisIntentProperties from the JsonReader.

IpTraffic ipTraffic()

Get the ipTraffic property: IP traffic information.

ProvisioningState provisioningState()

Get the provisioningState property: Provisioning states of a resource.

String sourceResourceId()

Get the sourceResourceId property: Source resource id to verify the reachability path of.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ReachabilityAnalysisIntentProperties withDescription(String description)

Set the description property: The description property.

ReachabilityAnalysisIntentProperties withDestinationResourceId(String destinationResourceId)

Set the destinationResourceId property: Destination resource id to verify the reachability path of.

ReachabilityAnalysisIntentProperties withIpTraffic(IpTraffic ipTraffic)

Set the ipTraffic property: IP traffic information.

ReachabilityAnalysisIntentProperties withProvisioningState(ProvisioningState provisioningState)

Set the provisioningState property: Provisioning states of a resource.

ReachabilityAnalysisIntentProperties withSourceResourceId(String sourceResourceId)

Set the sourceResourceId property: Source resource id to verify the reachability path of.

Methods inherited from java.lang.Object

Constructor Details

ReachabilityAnalysisIntentProperties

public ReachabilityAnalysisIntentProperties()

Creates an instance of ReachabilityAnalysisIntentProperties class.

Method Details

description

public String description()

Get the description property: The description property.

Returns:

the description value.

destinationResourceId

public String destinationResourceId()

Get the destinationResourceId property: Destination resource id to verify the reachability path of.

Returns:

the destinationResourceId value.

fromJson

public static ReachabilityAnalysisIntentProperties fromJson(JsonReader jsonReader)

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:

IOException

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

ipTraffic

public IpTraffic ipTraffic()

Get the ipTraffic property: IP traffic information.

Returns:

the ipTraffic value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Provisioning states of a resource.

Returns:

the provisioningState value.

sourceResourceId

public String sourceResourceId()

Get the sourceResourceId property: Source resource id to verify the reachability path of.

Returns:

the sourceResourceId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

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.

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.

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.

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.

Applies to