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