Class RegistryRegionArmDetails
java.lang.Object
com.azure.resourcemanager.machinelearning.models.RegistryRegionArmDetails
- All Implemented Interfaces:
com.azure.json.JsonSerializable<RegistryRegionArmDetails>
public final class RegistryRegionArmDetails
extends Object
implements com.azure.json.JsonSerializable<RegistryRegionArmDetails>
Details for each region the registry is in.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of RegistryRegionArmDetails class. -
Method Summary
Modifier and TypeMethodDescriptionGet the acrDetails property: List of ACR accounts.static RegistryRegionArmDetailsfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of RegistryRegionArmDetails from the JsonReader.location()Get the location property: The location where the registry exists.Get the storageAccountDetails property: List of storage accounts.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withAcrDetails(List<AcrDetails> acrDetails) Set the acrDetails property: List of ACR accounts.withLocation(String location) Set the location property: The location where the registry exists.withStorageAccountDetails(List<StorageAccountDetails> storageAccountDetails) Set the storageAccountDetails property: List of storage accounts.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
RegistryRegionArmDetails
public RegistryRegionArmDetails()Creates an instance of RegistryRegionArmDetails class.
-
-
Method Details
-
acrDetails
Get the acrDetails property: List of ACR accounts.- Returns:
- the acrDetails value.
-
withAcrDetails
Set the acrDetails property: List of ACR accounts.- Parameters:
acrDetails- the acrDetails value to set.- Returns:
- the RegistryRegionArmDetails object itself.
-
location
Get the location property: The location where the registry exists.- Returns:
- the location value.
-
withLocation
Set the location property: The location where the registry exists.- Parameters:
location- the location value to set.- Returns:
- the RegistryRegionArmDetails object itself.
-
storageAccountDetails
Get the storageAccountDetails property: List of storage accounts.- Returns:
- the storageAccountDetails value.
-
withStorageAccountDetails
public RegistryRegionArmDetails withStorageAccountDetails(List<StorageAccountDetails> storageAccountDetails) Set the storageAccountDetails property: List of storage accounts.- Parameters:
storageAccountDetails- the storageAccountDetails value to set.- Returns:
- the RegistryRegionArmDetails object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<RegistryRegionArmDetails>- Throws:
IOException
-
fromJson
public static RegistryRegionArmDetails fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of RegistryRegionArmDetails from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of RegistryRegionArmDetails 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 RegistryRegionArmDetails.
-