Class AccountKeyDatastoreSecrets
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.fluent.models.DatastoreSecretsInner
-
- com.azure.resourcemanager.machinelearning.models.AccountKeyDatastoreSecrets
-
public final class AccountKeyDatastoreSecrets extends DatastoreSecretsInner
Datastore account key secrets.
-
-
Constructor Summary
Constructors Constructor Description AccountKeyDatastoreSecrets()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
key()
Get the key property: Storage account key.void
validate()
Validates the instance.AccountKeyDatastoreSecrets
withKey(String key)
Set the key property: Storage account key.
-
-
-
Method Detail
-
key
public String key()
Get the key property: Storage account key.- Returns:
- the key value.
-
withKey
public AccountKeyDatastoreSecrets withKey(String key)
Set the key property: Storage account key.- Parameters:
key
- the key value to set.- Returns:
- the AccountKeyDatastoreSecrets object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classDatastoreSecretsInner
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-