Class StorageAccountDetails
java.lang.Object
com.azure.resourcemanager.machinelearning.models.StorageAccountDetails
- All Implemented Interfaces:
com.azure.json.JsonSerializable<StorageAccountDetails>
public final class StorageAccountDetails
extends Object
implements com.azure.json.JsonSerializable<StorageAccountDetails>
Details of storage account to be used for the Registry.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StorageAccountDetailsfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of StorageAccountDetails from the JsonReader.Get the systemCreatedStorageAccount property: Details of system created storage account to be used for the registry.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Get the userCreatedStorageAccount property: Details of user created storage account to be used for the registry.voidvalidate()Validates the instance.withSystemCreatedStorageAccount(SystemCreatedStorageAccount systemCreatedStorageAccount) Set the systemCreatedStorageAccount property: Details of system created storage account to be used for the registry.withUserCreatedStorageAccount(UserCreatedStorageAccount userCreatedStorageAccount) Set the userCreatedStorageAccount property: Details of user created storage account to be used for the registry.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
-
StorageAccountDetails
public StorageAccountDetails()Creates an instance of StorageAccountDetails class.
-
-
Method Details
-
systemCreatedStorageAccount
Get the systemCreatedStorageAccount property: Details of system created storage account to be used for the registry.- Returns:
- the systemCreatedStorageAccount value.
-
withSystemCreatedStorageAccount
public StorageAccountDetails withSystemCreatedStorageAccount(SystemCreatedStorageAccount systemCreatedStorageAccount) Set the systemCreatedStorageAccount property: Details of system created storage account to be used for the registry.- Parameters:
systemCreatedStorageAccount- the systemCreatedStorageAccount value to set.- Returns:
- the StorageAccountDetails object itself.
-
userCreatedStorageAccount
Get the userCreatedStorageAccount property: Details of user created storage account to be used for the registry.- Returns:
- the userCreatedStorageAccount value.
-
withUserCreatedStorageAccount
public StorageAccountDetails withUserCreatedStorageAccount(UserCreatedStorageAccount userCreatedStorageAccount) Set the userCreatedStorageAccount property: Details of user created storage account to be used for the registry.- Parameters:
userCreatedStorageAccount- the userCreatedStorageAccount value to set.- Returns:
- the StorageAccountDetails 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<StorageAccountDetails>- Throws:
IOException
-
fromJson
public static StorageAccountDetails fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of StorageAccountDetails from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of StorageAccountDetails 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 StorageAccountDetails.
-