Class AccountKeyDatastoreCredentials
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.DatastoreCredentials
-
- com.azure.resourcemanager.machinelearning.models.AccountKeyDatastoreCredentials
-
public final class AccountKeyDatastoreCredentials extends DatastoreCredentials
Account key datastore credentials configuration.
-
-
Constructor Summary
Constructors Constructor Description AccountKeyDatastoreCredentials()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountKeyDatastoreSecrets
secrets()
Get the secrets property: [Required] Storage account secrets.void
validate()
Validates the instance.AccountKeyDatastoreCredentials
withSecrets(AccountKeyDatastoreSecrets secrets)
Set the secrets property: [Required] Storage account secrets.
-
-
-
Method Detail
-
secrets
public AccountKeyDatastoreSecrets secrets()
Get the secrets property: [Required] Storage account secrets.- Returns:
- the secrets value.
-
withSecrets
public AccountKeyDatastoreCredentials withSecrets(AccountKeyDatastoreSecrets secrets)
Set the secrets property: [Required] Storage account secrets.- Parameters:
secrets
- the secrets value to set.- Returns:
- the AccountKeyDatastoreCredentials object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classDatastoreCredentials
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-