Permissions Class
- java.
lang. Object - com.
azure. resourcemanager. keyvault. models. Permissions
- com.
Implements
public final class Permissions
implements JsonSerializable<Permissions>
Permissions the identity has for keys, secrets, certificates and storage.
Constructor Summary
Constructor | Description |
---|---|
Permissions() |
Creates an instance of Permissions class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Certificate |
certificates()
Get the certificates property: Permissions to certificates. |
static Permissions |
fromJson(JsonReader jsonReader)
Reads an instance of Permissions from the Json |
List<Key |
keys()
Get the keys property: Permissions to keys. |
List<Secret |
secrets()
Get the secrets property: Permissions to secrets. |
List<Storage |
storage()
Get the storage property: Permissions to storage accounts. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Permissions |
withCertificates(List<CertificatePermissions> certificates)
Set the certificates property: Permissions to certificates. |
Permissions |
withKeys(List<KeyPermissions> keys)
Set the keys property: Permissions to keys. |
Permissions |
withSecrets(List<SecretPermissions> secrets)
Set the secrets property: Permissions to secrets. |
Permissions |
withStorage(List<StoragePermissions> storage)
Set the storage property: Permissions to storage accounts. |
Methods inherited from java.lang.Object
Constructor Details
Permissions
public Permissions()
Creates an instance of Permissions class.
Method Details
certificates
public List
Get the certificates property: Permissions to certificates.
Returns:
fromJson
public static Permissions fromJson(JsonReader jsonReader)
Reads an instance of Permissions from the JsonReader.
Parameters:
Returns:
Throws:
keys
public List
Get the keys property: Permissions to keys.
Returns:
secrets
public List
Get the secrets property: Permissions to secrets.
Returns:
storage
public List
Get the storage property: Permissions to storage accounts.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCertificates
public Permissions withCertificates(List
Set the certificates property: Permissions to certificates.
Parameters:
Returns:
withKeys
public Permissions withKeys(List
Set the keys property: Permissions to keys.
Parameters:
Returns:
withSecrets
public Permissions withSecrets(List
Set the secrets property: Permissions to secrets.
Parameters:
Returns:
withStorage
public Permissions withStorage(List
Set the storage property: Permissions to storage accounts.
Parameters:
Returns:
Applies to
Azure SDK for Java