Class SecretStoreResource
- java.lang.Object
-
- com.azure.resourcemanager.dataprotection.models.SecretStoreResource
-
public final class SecretStoreResource extends Object
Class representing a secret store resource.
-
-
Constructor Summary
Constructors Constructor Description SecretStoreResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecretStoreType
secretStoreType()
Get the secretStoreType property: Gets or sets the type of secret store.String
uri()
Get the uri property: Uri to get to the resource.void
validate()
Validates the instance.SecretStoreResource
withSecretStoreType(SecretStoreType secretStoreType)
Set the secretStoreType property: Gets or sets the type of secret store.SecretStoreResource
withUri(String uri)
Set the uri property: Uri to get to the resource.
-
-
-
Method Detail
-
uri
public String uri()
Get the uri property: Uri to get to the resource.- Returns:
- the uri value.
-
withUri
public SecretStoreResource withUri(String uri)
Set the uri property: Uri to get to the resource.- Parameters:
uri
- the uri value to set.- Returns:
- the SecretStoreResource object itself.
-
secretStoreType
public SecretStoreType secretStoreType()
Get the secretStoreType property: Gets or sets the type of secret store.- Returns:
- the secretStoreType value.
-
withSecretStoreType
public SecretStoreResource withSecretStoreType(SecretStoreType secretStoreType)
Set the secretStoreType property: Gets or sets the type of secret store.- Parameters:
secretStoreType
- the secretStoreType value to set.- Returns:
- the SecretStoreResource object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-