com.amazonaws.services.identitymanagement.model
Class GetUserPolicyResult

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

public class GetUserPolicyResult
extends Object

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


Constructor Summary
GetUserPolicyResult()
           
 
Method Summary
 String getPolicyDocument()
          The policy document.
 String getPolicyName()
          The name of the policy.
 String getUserName()
          The user the policy is associated with.
 void setPolicyDocument(String policyDocument)
          The policy document.
 void setPolicyName(String policyName)
          The name of the policy.
 void setUserName(String userName)
          The user the policy is associated with.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 GetUserPolicyResult withPolicyDocument(String policyDocument)
          The policy document.
 GetUserPolicyResult withPolicyName(String policyName)
          The name of the policy.
 GetUserPolicyResult withUserName(String userName)
          The user the policy is associated with.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetUserPolicyResult

public GetUserPolicyResult()
Method Detail

getUserName

public String getUserName()
The user the policy is associated with.

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

Returns:
The user the policy is associated with.

setUserName

public void setUserName(String userName)
The user the policy is associated with.

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

Parameters:
userName - The user the policy is associated with.

withUserName

public GetUserPolicyResult withUserName(String userName)
The user the policy is associated with.

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

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

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

getPolicyName

public String getPolicyName()
The name of the policy.

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

Returns:
The name of the policy.

setPolicyName

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

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

Parameters:
policyName - The name of the policy.

withPolicyName

public GetUserPolicyResult withPolicyName(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 String getPolicyDocument()
The policy document.

Constraints:
Pattern: [ -?]+

Returns:
The policy document.

setPolicyDocument

public void setPolicyDocument(String policyDocument)
The policy document.

Constraints:
Pattern: [ -?]+

Parameters:
policyDocument - The policy document.

withPolicyDocument

public GetUserPolicyResult withPolicyDocument(String policyDocument)
The policy document.

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

Constraints:
Pattern: [ -?]+

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

toString

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

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


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