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 Details

    • RegistryRegionArmDetails

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

    • acrDetails

      public List<AcrDetails> acrDetails()
      Get the acrDetails property: List of ACR accounts.
      Returns:
      the acrDetails value.
    • withAcrDetails

      public RegistryRegionArmDetails withAcrDetails(List<AcrDetails> acrDetails)
      Set the acrDetails property: List of ACR accounts.
      Parameters:
      acrDetails - the acrDetails value to set.
      Returns:
      the RegistryRegionArmDetails object itself.
    • location

      public String location()
      Get the location property: The location where the registry exists.
      Returns:
      the location value.
    • withLocation

      public RegistryRegionArmDetails withLocation(String location)
      Set the location property: The location where the registry exists.
      Parameters:
      location - the location value to set.
      Returns:
      the RegistryRegionArmDetails object itself.
    • storageAccountDetails

      public List<StorageAccountDetails> 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.