Class SecretStoreBasedAuthCredentials
java.lang.Object
com.azure.resourcemanager.dataprotection.models.AuthCredentials
com.azure.resourcemanager.dataprotection.models.SecretStoreBasedAuthCredentials
Secret store based authentication credentials.
-
Constructor Summary
ConstructorDescriptionCreates an instance of SecretStoreBasedAuthCredentials class. -
Method Summary
Modifier and TypeMethodDescriptionGet the secretStoreResource property: Secret store resource.void
validate()
Validates the instance.withSecretStoreResource
(SecretStoreResource secretStoreResource) Set the secretStoreResource property: Secret store resource.
-
Constructor Details
-
SecretStoreBasedAuthCredentials
public SecretStoreBasedAuthCredentials()Creates an instance of SecretStoreBasedAuthCredentials class.
-
-
Method Details
-
secretStoreResource
Get the secretStoreResource property: Secret store resource.- Returns:
- the secretStoreResource value.
-
withSecretStoreResource
public SecretStoreBasedAuthCredentials withSecretStoreResource(SecretStoreResource secretStoreResource) Set the secretStoreResource property: Secret store resource.- Parameters:
secretStoreResource
- the secretStoreResource value to set.- Returns:
- the SecretStoreBasedAuthCredentials object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classAuthCredentials
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-