Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.identitymanagement.model
Class GetRolePolicyResult

java.lang.Object
  extended by com.amazonaws.services.identitymanagement.model.GetRolePolicyResult

public class GetRolePolicyResult
extends java.lang.Object

Contains the result of a successful invocation of the GetRolePolicy action.


Constructor Summary
GetRolePolicyResult()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getPolicyDocument()
          The policy document.
 java.lang.String getPolicyName()
          The name of the policy.
 java.lang.String getRoleName()
          The role the policy is associated with.
 int hashCode()
           
 void setPolicyDocument(java.lang.String policyDocument)
          The policy document.
 void setPolicyName(java.lang.String policyName)
          The name of the policy.
 void setRoleName(java.lang.String roleName)
          The role the policy is associated with.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 GetRolePolicyResult withPolicyDocument(java.lang.String policyDocument)
          The policy document.
 GetRolePolicyResult withPolicyName(java.lang.String policyName)
          The name of the policy.
 GetRolePolicyResult withRoleName(java.lang.String roleName)
          The role the policy is associated with.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetRolePolicyResult

public GetRolePolicyResult()
Method Detail

getRoleName

public java.lang.String getRoleName()
The role the policy is associated with.

Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*

Returns:
The role the policy is associated with.

setRoleName

public void setRoleName(java.lang.String roleName)
The role the policy is associated with.

Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*

Parameters:
roleName - The role the policy is associated with.

withRoleName

public GetRolePolicyResult withRoleName(java.lang.String roleName)
The role the policy is associated with.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 64
Pattern: [\w+=,.@-]*

Parameters:
roleName - The role the policy is associated with.
Returns:
A reference to this updated object so that method calls can be chained together.

getPolicyName

public java.lang.String getPolicyName()
The name of the policy.

Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*

Returns:
The name of the policy.

setPolicyName

public void setPolicyName(java.lang.String policyName)
The name of the policy.

Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*

Parameters:
policyName - The name of the policy.

withPolicyName

public GetRolePolicyResult withPolicyName(java.lang.String policyName)
The name of the policy.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*

Parameters:
policyName - The name of the policy.
Returns:
A reference to this updated object so that method calls can be chained together.

getPolicyDocument

public java.lang.String getPolicyDocument()
The policy document.

Constraints:
Length: 1 - 131072
Pattern: [ -?]+

Returns:
The policy document.

setPolicyDocument

public void setPolicyDocument(java.lang.String policyDocument)
The policy document.

Constraints:
Length: 1 - 131072
Pattern: [ -?]+

Parameters:
policyDocument - The policy document.

withPolicyDocument

public GetRolePolicyResult withPolicyDocument(java.lang.String policyDocument)
The policy document.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 131072
Pattern: [ -?]+

Parameters:
policyDocument - The policy document.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.