RedisCacheAccessPolicyAssignmentInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. redis. fluent. models. RedisCacheAccessPolicyAssignmentInner
- com.
- com.
public final class RedisCacheAccessPolicyAssignmentInner
extends ProxyResource
Response to an operation on access policy assignment.
Constructor Summary
Constructor | Description |
---|---|
RedisCacheAccessPolicyAssignmentInner() |
Creates an instance of Redis |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
accessPolicyName()
Get the access |
static
Redis |
fromJson(JsonReader jsonReader)
Reads an instance of Redis |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
String |
objectId()
Get the object |
String |
objectIdAlias()
Get the object |
Access |
provisioningState()
Get the provisioning |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Redis |
withAccessPolicyName(String accessPolicyName)
Set the access |
Redis |
withObjectId(String objectId)
Set the object |
Redis |
withObjectIdAlias(String objectIdAlias)
Set the object |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
RedisCacheAccessPolicyAssignmentInner
public RedisCacheAccessPolicyAssignmentInner()
Creates an instance of RedisCacheAccessPolicyAssignmentInner class.
Method Details
accessPolicyName
public String accessPolicyName()
Get the accessPolicyName property: The name of the access policy that is being assigned.
Returns:
fromJson
public static RedisCacheAccessPolicyAssignmentInner fromJson(JsonReader jsonReader)
Reads an instance of RedisCacheAccessPolicyAssignmentInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
RedisCacheAccessPolicyAssignmentInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
RedisCacheAccessPolicyAssignmentInner.name()Returns:
objectId
public String objectId()
Get the objectId property: Object Id to assign access policy to.
Returns:
objectIdAlias
public String objectIdAlias()
Get the objectIdAlias property: User friendly name for object id. Also represents username for token based authentication.
Returns:
provisioningState
public AccessPolicyAssignmentProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of an access policy assignment set.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
RedisCacheAccessPolicyAssignmentInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
RedisCacheAccessPolicyAssignmentInner.type()Returns:
validate
public void validate()
Validates the instance.
withAccessPolicyName
public RedisCacheAccessPolicyAssignmentInner withAccessPolicyName(String accessPolicyName)
Set the accessPolicyName property: The name of the access policy that is being assigned.
Parameters:
Returns:
withObjectId
public RedisCacheAccessPolicyAssignmentInner withObjectId(String objectId)
Set the objectId property: Object Id to assign access policy to.
Parameters:
Returns:
withObjectIdAlias
public RedisCacheAccessPolicyAssignmentInner withObjectIdAlias(String objectIdAlias)
Set the objectIdAlias property: User friendly name for object id. Also represents username for token based authentication.
Parameters:
Returns: