CheckZonePeersResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.fluent.models.CheckZonePeersResultInner

Implements

public final class CheckZonePeersResultInner
implements JsonSerializable<CheckZonePeersResultInner>

Result of the Check zone peers operation.

Constructor Summary

Constructor Description
CheckZonePeersResultInner()

Creates an instance of CheckZonePeersResultInner class.

Method Summary

Modifier and Type Method and Description
List<AvailabilityZonePeers> availabilityZonePeers()

Get the availabilityZonePeers property: The Availability Zones shared by the subscriptions.

static CheckZonePeersResultInner fromJson(JsonReader jsonReader)

Reads an instance of CheckZonePeersResultInner from the JsonReader.

String location()

Get the location property: the location of the subscription.

String subscriptionId()

Get the subscriptionId property: The subscription ID.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

CheckZonePeersResultInner withAvailabilityZonePeers(List<AvailabilityZonePeers> availabilityZonePeers)

Set the availabilityZonePeers property: The Availability Zones shared by the subscriptions.

CheckZonePeersResultInner withLocation(String location)

Set the location property: the location of the subscription.

Methods inherited from java.lang.Object

Constructor Details

CheckZonePeersResultInner

public CheckZonePeersResultInner()

Creates an instance of CheckZonePeersResultInner class.

Method Details

availabilityZonePeers

public List availabilityZonePeers()

Get the availabilityZonePeers property: The Availability Zones shared by the subscriptions.

Returns:

the availabilityZonePeers value.

fromJson

public static CheckZonePeersResultInner fromJson(JsonReader jsonReader)

Reads an instance of CheckZonePeersResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of CheckZonePeersResultInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the CheckZonePeersResultInner.

location

public String location()

Get the location property: the location of the subscription.

Returns:

the location value.

subscriptionId

public String subscriptionId()

Get the subscriptionId property: The subscription ID.

Returns:

the subscriptionId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAvailabilityZonePeers

public CheckZonePeersResultInner withAvailabilityZonePeers(List availabilityZonePeers)

Set the availabilityZonePeers property: The Availability Zones shared by the subscriptions.

Parameters:

availabilityZonePeers - the availabilityZonePeers value to set.

Returns:

the CheckZonePeersResultInner object itself.

withLocation

public CheckZonePeersResultInner withLocation(String location)

Set the location property: the location of the subscription.

Parameters:

location - the location value to set.

Returns:

the CheckZonePeersResultInner object itself.

Applies to