AvailabilityZonePeers Class
- java.
lang. Object - com.
azure. resourcemanager. resources. models. AvailabilityZonePeers
- com.
Implements
public final class AvailabilityZonePeers
implements JsonSerializable<AvailabilityZonePeers>
List of availability zones shared by the subscriptions.
Constructor Summary
Constructor | Description |
---|---|
AvailabilityZonePeers() |
Creates an instance of Availability |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
availabilityZone()
Get the availability |
static
Availability |
fromJson(JsonReader jsonReader)
Reads an instance of Availability |
List<Peers> |
peers()
Get the peers property: Details of shared availability zone. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Availability |
withPeers(List<Peers> peers)
Set the peers property: Details of shared availability zone. |
Methods inherited from java.lang.Object
Constructor Details
AvailabilityZonePeers
public AvailabilityZonePeers()
Creates an instance of AvailabilityZonePeers class.
Method Details
availabilityZone
public String availabilityZone()
Get the availabilityZone property: The availabilityZone.
Returns:
fromJson
public static AvailabilityZonePeers fromJson(JsonReader jsonReader)
Reads an instance of AvailabilityZonePeers from the JsonReader.
Parameters:
Returns:
Throws:
peers
public List
Get the peers property: Details of shared availability zone.
Returns:
toJson
validate
public void validate()
Validates the instance.
withPeers
public AvailabilityZonePeers withPeers(List
Set the peers property: Details of shared availability zone.
Parameters:
Returns:
Applies to
Azure SDK for Java