Class VaultAccessPolicyProperties
- java.lang.Object
-
- com.azure.resourcemanager.keyvault.models.VaultAccessPolicyProperties
-
public final class VaultAccessPolicyProperties extends Object
Properties of the vault access policy.
-
-
Constructor Summary
Constructors Constructor Description VaultAccessPolicyProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AccessPolicyEntry>accessPolicies()Get the accessPolicies property: An array of 0 to 16 identities that have access to the key vault.voidvalidate()Validates the instance.VaultAccessPolicyPropertieswithAccessPolicies(List<AccessPolicyEntry> accessPolicies)Set the accessPolicies property: An array of 0 to 16 identities that have access to the key vault.
-
-
-
Method Detail
-
accessPolicies
public List<AccessPolicyEntry> accessPolicies()
Get the accessPolicies property: An array of 0 to 16 identities that have access to the key vault. All identities in the array must use the same tenant ID as the key vault's tenant ID.- Returns:
- the accessPolicies value.
-
withAccessPolicies
public VaultAccessPolicyProperties withAccessPolicies(List<AccessPolicyEntry> accessPolicies)
Set the accessPolicies property: An array of 0 to 16 identities that have access to the key vault. All identities in the array must use the same tenant ID as the key vault's tenant ID.- Parameters:
accessPolicies- the accessPolicies value to set.- Returns:
- the VaultAccessPolicyProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-