Class RedisCacheAccessPolicyInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.redis.fluent.models.RedisCacheAccessPolicyInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class RedisCacheAccessPolicyInner
extends com.azure.core.management.ProxyResource
Response to get/put access policy.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of RedisCacheAccessPolicyInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the permissions property: Permissions for the access policy.Get the provisioningState property: Provisioning state of access policy.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.Methods inherited from class com.azure.core.management.ProxyResource
fromJson, id, name, toJson, type
-
Constructor Details
-
RedisCacheAccessPolicyInner
public RedisCacheAccessPolicyInner()Creates an instance of RedisCacheAccessPolicyInner class.
-
-
Method Details
-
provisioningState
Get the provisioningState property: Provisioning state of access policy.- Returns:
- the provisioningState value.
-
typePropertiesType
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 RedisCacheAccessPolicyInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-