Class RegionInfoInner

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

public final class RegionInfoInner extends Object implements com.azure.json.JsonSerializable<RegionInfoInner>
Provides region specific information.
  • Constructor Details

    • RegionInfoInner

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

    • storageToNetworkProximity

      public RegionStorageToNetworkProximity storageToNetworkProximity()
      Get the storageToNetworkProximity property: Provides storage to network proximity information in the region.
      Returns:
      the storageToNetworkProximity value.
    • withStorageToNetworkProximity

      public RegionInfoInner withStorageToNetworkProximity(RegionStorageToNetworkProximity storageToNetworkProximity)
      Set the storageToNetworkProximity property: Provides storage to network proximity information in the region.
      Parameters:
      storageToNetworkProximity - the storageToNetworkProximity value to set.
      Returns:
      the RegionInfoInner object itself.
    • availabilityZoneMappings

      public List<RegionInfoAvailabilityZoneMappingsItem> availabilityZoneMappings()
      Get the availabilityZoneMappings property: Provides logical availability zone mappings for the subscription for a region.
      Returns:
      the availabilityZoneMappings value.
    • withAvailabilityZoneMappings

      public RegionInfoInner withAvailabilityZoneMappings(List<RegionInfoAvailabilityZoneMappingsItem> availabilityZoneMappings)
      Set the availabilityZoneMappings property: Provides logical availability zone mappings for the subscription for a region.
      Parameters:
      availabilityZoneMappings - the availabilityZoneMappings value to set.
      Returns:
      the RegionInfoInner 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<RegionInfoInner>
      Throws:
      IOException
    • fromJson

      public static RegionInfoInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of RegionInfoInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of RegionInfoInner 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 RegionInfoInner.