Class AvailabilityZonePeers
- java.lang.Object
-
- com.azure.resourcemanager.resources.models.AvailabilityZonePeers
-
public final class AvailabilityZonePeers extends Object
List of availability zones shared by the subscriptions.
-
-
Constructor Summary
Constructors Constructor Description AvailabilityZonePeers()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringavailabilityZone()Get the availabilityZone property: The availabilityZone.List<Peers>peers()Get the peers property: Details of shared availability zone.voidvalidate()Validates the instance.AvailabilityZonePeerswithPeers(List<Peers> peers)Set the peers property: Details of shared availability zone.
-
-
-
Method Detail
-
availabilityZone
public String availabilityZone()
Get the availabilityZone property: The availabilityZone.- Returns:
- the availabilityZone value.
-
peers
public List<Peers> peers()
Get the peers property: Details of shared availability zone.- Returns:
- the peers value.
-
withPeers
public AvailabilityZonePeers withPeers(List<Peers> peers)
Set the peers property: Details of shared availability zone.- Parameters:
peers- the peers value to set.- Returns:
- the AvailabilityZonePeers object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-