Class VaultAccessPolicyParametersInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.keyvault.fluent.models.VaultAccessPolicyParametersInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class VaultAccessPolicyParametersInner
extends com.azure.core.management.ProxyResource
Parameters for updating the access policy in a vault.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of VaultAccessPolicyParametersInner class. -
Method Summary
Modifier and TypeMethodDescriptionlocation()Get the location property: The resource type of the access policy.Get the properties property: Properties of the access policy.voidvalidate()Validates the instance.withProperties(VaultAccessPolicyProperties properties) Set the properties property: Properties of the access policy.Methods inherited from class com.azure.core.management.ProxyResource
fromJson, id, name, toJson, type
-
Constructor Details
-
VaultAccessPolicyParametersInner
public VaultAccessPolicyParametersInner()Creates an instance of VaultAccessPolicyParametersInner class.
-
-
Method Details
-
location
Get the location property: The resource type of the access policy.- Returns:
- the location value.
-
properties
Get the properties property: Properties of the access policy.- Returns:
- the properties value.
-
withProperties
Set the properties property: Properties of the access policy.- Parameters:
properties- the properties value to set.- Returns:
- the VaultAccessPolicyParametersInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-