public class GetRolePolicyResult extends Object implements Serializable
Contains the result of a successful invocation of the GetRolePolicy action.
Constructor and Description |
---|
GetRolePolicyResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getPolicyDocument()
The policy document.
|
String |
getPolicyName()
The name of the policy.
|
String |
getRoleName()
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetRolePolicyResult |
withPolicyDocument(String policyDocument)
The policy document.
|
GetRolePolicyResult |
withPolicyName(String policyName)
The name of the policy.
|
GetRolePolicyResult |
withRoleName(String roleName)
The role the policy is associated with.
|
public String getRoleName()
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
public void setRoleName(String roleName)
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
roleName
- The role the policy is associated with.public GetRolePolicyResult withRoleName(String roleName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*
roleName
- The role the policy is associated with.public String getPolicyName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
public void setPolicyName(String policyName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
policyName
- The name of the policy.public GetRolePolicyResult withPolicyName(String policyName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
policyName
- The name of the policy.public String getPolicyDocument()
Constraints:
Length: 1 - 131072
Pattern: [
-ÿ]+
public void setPolicyDocument(String policyDocument)
Constraints:
Length: 1 - 131072
Pattern: [
-ÿ]+
policyDocument
- The policy document.public GetRolePolicyResult withPolicyDocument(String policyDocument)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 131072
Pattern: [
-ÿ]+
policyDocument
- The policy document.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.