Class CheckZonePeersResultInner

java.lang.Object
com.azure.resourcemanager.resources.fluent.models.CheckZonePeersResultInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<CheckZonePeersResultInner>

public final class CheckZonePeersResultInner extends Object implements com.azure.json.JsonSerializable<CheckZonePeersResultInner>
Result of the Check zone peers operation.
  • Constructor Details

    • CheckZonePeersResultInner

      public CheckZonePeersResultInner()
      Creates an instance of CheckZonePeersResultInner class.
  • Method Details

    • subscriptionId

      public String subscriptionId()
      Get the subscriptionId property: The subscription ID.
      Returns:
      the subscriptionId value.
    • location

      public String location()
      Get the location property: the location of the subscription.
      Returns:
      the location value.
    • 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.
    • availabilityZonePeers

      public List<AvailabilityZonePeers> availabilityZonePeers()
      Get the availabilityZonePeers property: The Availability Zones shared by the subscriptions.
      Returns:
      the availabilityZonePeers value.
    • withAvailabilityZonePeers

      public CheckZonePeersResultInner withAvailabilityZonePeers(List<AvailabilityZonePeers> availabilityZonePeers)
      Set the availabilityZonePeers property: The Availability Zones shared by the subscriptions.
      Parameters:
      availabilityZonePeers - the availabilityZonePeers value to set.
      Returns:
      the CheckZonePeersResultInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<CheckZonePeersResultInner>
      Throws:
      IOException
    • fromJson

      public static CheckZonePeersResultInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.