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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the availabilityZoneMappings property: Provides logical availability zone mappings for the subscription for a region.static RegionInfoInner
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of RegionInfoInner from the JsonReader.Get the storageToNetworkProximity property: Provides storage to network proximity information in the region.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withAvailabilityZoneMappings
(List<RegionInfoAvailabilityZoneMappingsItem> availabilityZoneMappings) Set the availabilityZoneMappings property: Provides logical availability zone mappings for the subscription for a region.withStorageToNetworkProximity
(RegionStorageToNetworkProximity storageToNetworkProximity) Set the storageToNetworkProximity property: Provides storage to network proximity information in the region.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
RegionInfoInner
public RegionInfoInner()Creates an instance of RegionInfoInner class.
-
-
Method Details
-
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
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
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<RegionInfoInner>
- Throws:
IOException
-
fromJson
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.
-