Class RedisCacheAccessPolicyProperties
java.lang.Object
com.azure.resourcemanager.redis.fluent.models.RedisCacheAccessPolicyProperties
All properties of an access policy.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of RedisCacheAccessPolicyProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the permissions property: Permissions for the access policy.Get the provisioningState property: Provisioning state of access policy.type()Get the type property: Built-In or Custom access policy.voidvalidate()Validates the instance.withPermissions(String permissions) Set the permissions property: Permissions for the access policy.
-
Constructor Details
-
RedisCacheAccessPolicyProperties
public RedisCacheAccessPolicyProperties()Creates an instance of RedisCacheAccessPolicyProperties class.
-
-
Method Details
-
provisioningState
Get the provisioningState property: Provisioning state of access policy.- Returns:
- the provisioningState value.
-
type
Get the type property: Built-In or Custom access policy.- Returns:
- the type value.
-
permissions
Get the permissions property: Permissions for the access policy. Learn how to configure permissions at https://aka.ms/redis/AADPreRequisites.- Returns:
- the permissions value.
-
withPermissions
Set the permissions property: Permissions for the access policy. Learn how to configure permissions at https://aka.ms/redis/AADPreRequisites.- Parameters:
permissions- the permissions value to set.- Returns:
- the RedisCacheAccessPolicyProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-