public class GetUserPolicyResult extends Object implements Serializable
Contains the result of a successful invocation of the GetUserPolicy action.
Constructor and Description |
---|
GetUserPolicyResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getPolicyDocument()
The policy document.
|
String |
getPolicyName()
The name of the policy.
|
String |
getUserName()
The user the policy is associated with.
|
int |
hashCode() |
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.
|
public String getUserName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
public void setUserName(String userName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
userName
- The user the policy is associated with.public GetUserPolicyResult withUserName(String userName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
userName
- The user 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 GetUserPolicyResult 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 GetUserPolicyResult 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.