Compartilhar via


Peers Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.models.Peers

Implements

public final class Peers
implements JsonSerializable<Peers>

Information about shared availability zone.

Constructor Summary

Constructor Description
Peers()

Creates an instance of Peers class.

Method Summary

Modifier and Type Method and Description
String availabilityZone()

Get the availabilityZone property: The availabilityZone.

static Peers fromJson(JsonReader jsonReader)

Reads an instance of Peers from the JsonReader.

String subscriptionId()

Get the subscriptionId property: The subscription ID.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

Peers

public Peers()

Creates an instance of Peers class.

Method Details

availabilityZone

public String availabilityZone()

Get the availabilityZone property: The availabilityZone.

Returns:

the availabilityZone value.

fromJson

public static Peers fromJson(JsonReader jsonReader)

Reads an instance of Peers from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of Peers 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 Peers.

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.

Applies to