public class GetGroupPolicyRequest extends AmazonWebServiceRequest implements Serializable
GetGroupPolicy operation
.
Retrieves the specified policy document for the specified group. The returned policy is URL-encoded according to RFC 3986. For more information about RFC 3986, go to http://www.faqs.org/rfcs/rfc3986.html .
Constructor and Description |
---|
GetGroupPolicyRequest()
Default constructor for a new GetGroupPolicyRequest object.
|
GetGroupPolicyRequest(String groupName,
String policyName)
Constructs a new GetGroupPolicyRequest object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getGroupName()
Name of the group the policy is associated with.
|
String |
getPolicyName()
Name of the policy document to get.
|
int |
hashCode() |
void |
setGroupName(String groupName)
Name of the group the policy is associated with.
|
void |
setPolicyName(String policyName)
Name of the policy document to get.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetGroupPolicyRequest |
withGroupName(String groupName)
Name of the group the policy is associated with.
|
GetGroupPolicyRequest |
withPolicyName(String policyName)
Name of the policy document to get.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public GetGroupPolicyRequest()
public GetGroupPolicyRequest(String groupName, String policyName)
groupName
- Name of the group the policy is associated with.policyName
- Name of the policy document to get.public String getGroupName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
public void setGroupName(String groupName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
groupName
- Name of the group the policy is associated with.public GetGroupPolicyRequest withGroupName(String groupName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
groupName
- Name of 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
- Name of the policy document to get.public GetGroupPolicyRequest withPolicyName(String policyName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
policyName
- Name of the policy document to get.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.