public class GetGroupPolicyResult extends Object implements Serializable
Contains the result of a successful invocation of the GetGroupPolicy action.
Constructor and Description |
---|
GetGroupPolicyResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getGroupName()
The group the policy is associated with.
|
String |
getPolicyDocument()
The policy document.
|
String |
getPolicyName()
The name of the policy.
|
int |
hashCode() |
void |
setGroupName(String groupName)
The group the policy is associated with.
|
void |
setPolicyDocument(String policyDocument)
The policy document.
|
void |
setPolicyName(String policyName)
The name of the policy.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetGroupPolicyResult |
withGroupName(String groupName)
The group the policy is associated with.
|
GetGroupPolicyResult |
withPolicyDocument(String policyDocument)
The policy document.
|
GetGroupPolicyResult |
withPolicyName(String policyName)
The name of the policy.
|
public String getGroupName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
public void setGroupName(String groupName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
groupName
- The group the policy is associated with.public GetGroupPolicyResult withGroupName(String groupName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
groupName
- The group 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 GetGroupPolicyResult 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 GetGroupPolicyResult 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.