Class GetRolePolicyResult
java.lang.Object
com.amazonaws.services.identitymanagement.model.GetRolePolicyResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the response to a successful GetRolePolicy request.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The policy document.The name of the policy.The role the policy is associated with.int
hashCode()
void
setPolicyDocument
(String policyDocument) The policy document.void
setPolicyName
(String policyName) The name of the policy.void
setRoleName
(String roleName) The role the policy is associated with.toString()
Returns a string representation of this object; useful for testing and debugging.withPolicyDocument
(String policyDocument) The policy document.withPolicyName
(String policyName) The name of the policy.withRoleName
(String roleName) The role the policy is associated with.
-
Constructor Details
-
GetRolePolicyResult
public GetRolePolicyResult()
-
-
Method Details
-
setRoleName
The role the policy is associated with.
- Parameters:
roleName
- The role the policy is associated with.
-
getRoleName
The role the policy is associated with.
- Returns:
- The role the policy is associated with.
-
withRoleName
The role the policy is associated with.
- Parameters:
roleName
- The role the policy is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPolicyName
The name of the policy.
- Parameters:
policyName
- The name of the policy.
-
getPolicyName
The name of the policy.
- Returns:
- The name of the policy.
-
withPolicyName
The name of the policy.
- Parameters:
policyName
- The name of the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPolicyDocument
The policy document.
- Parameters:
policyDocument
- The policy document.
-
getPolicyDocument
The policy document.
- Returns:
- The policy document.
-
withPolicyDocument
The policy document.
- Parameters:
policyDocument
- The policy document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-