Class SecretStoreResource
java.lang.Object
com.azure.resourcemanager.dataprotection.models.SecretStoreResource
Class representing a secret store resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the secretStoreType property: Gets or sets the type of secret store.uri()
Get the uri property: Uri to get to the resource.void
validate()
Validates the instance.value()
Get the value property: Gets or sets value stored in secret store resource.withSecretStoreType
(SecretStoreType secretStoreType) Set the secretStoreType property: Gets or sets the type of secret store.Set the uri property: Uri to get to the resource.Set the value property: Gets or sets value stored in secret store resource.
-
Constructor Details
-
SecretStoreResource
public SecretStoreResource()Creates an instance of SecretStoreResource class.
-
-
Method Details
-
uri
Get the uri property: Uri to get to the resource.- Returns:
- the uri value.
-
withUri
Set the uri property: Uri to get to the resource.- Parameters:
uri
- the uri value to set.- Returns:
- the SecretStoreResource object itself.
-
secretStoreType
Get the secretStoreType property: Gets or sets the type of secret store.- Returns:
- the secretStoreType value.
-
withSecretStoreType
Set the secretStoreType property: Gets or sets the type of secret store.- Parameters:
secretStoreType
- the secretStoreType value to set.- Returns:
- the SecretStoreResource object itself.
-
value
Get the value property: Gets or sets value stored in secret store resource.- Returns:
- the value value.
-
withValue
Set the value property: Gets or sets value stored in secret store resource.- Parameters:
value
- the value value to set.- Returns:
- the SecretStoreResource object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-