Class Permissions
java.lang.Object
com.azure.resourcemanager.keyvault.models.Permissions
Permissions the identity has for keys, secrets, certificates and storage.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the certificates property: Permissions to certificates.keys()Get the keys property: Permissions to keys.secrets()Get the secrets property: Permissions to secrets.storage()Get the storage property: Permissions to storage accounts.voidvalidate()Validates the instance.withCertificates(List<CertificatePermissions> certificates) Set the certificates property: Permissions to certificates.withKeys(List<KeyPermissions> keys) Set the keys property: Permissions to keys.withSecrets(List<SecretPermissions> secrets) Set the secrets property: Permissions to secrets.withStorage(List<StoragePermissions> storage) Set the storage property: Permissions to storage accounts.
-
Constructor Details
-
Permissions
public Permissions()Creates an instance of Permissions class.
-
-
Method Details
-
keys
Get the keys property: Permissions to keys.- Returns:
- the keys value.
-
withKeys
Set the keys property: Permissions to keys.- Parameters:
keys- the keys value to set.- Returns:
- the Permissions object itself.
-
secrets
Get the secrets property: Permissions to secrets.- Returns:
- the secrets value.
-
withSecrets
Set the secrets property: Permissions to secrets.- Parameters:
secrets- the secrets value to set.- Returns:
- the Permissions object itself.
-
certificates
Get the certificates property: Permissions to certificates.- Returns:
- the certificates value.
-
withCertificates
Set the certificates property: Permissions to certificates.- Parameters:
certificates- the certificates value to set.- Returns:
- the Permissions object itself.
-
storage
Get the storage property: Permissions to storage accounts.- Returns:
- the storage value.
-
withStorage
Set the storage property: Permissions to storage accounts.- Parameters:
storage- the storage value to set.- Returns:
- the Permissions object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-