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