public class DeleteGroupPolicyRequest extends AmazonWebServiceRequest implements Serializable
DeleteGroupPolicy operation.
Deletes the specified policy that is associated with the specified group.
NOOP| Constructor and Description |
|---|
DeleteGroupPolicyRequest()
Default constructor for a new DeleteGroupPolicyRequest object.
|
DeleteGroupPolicyRequest(String groupName,
String policyName)
Constructs a new DeleteGroupPolicyRequest 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 delete.
|
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 delete.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteGroupPolicyRequest |
withGroupName(String groupName)
Name of the group the policy is associated with.
|
DeleteGroupPolicyRequest |
withPolicyName(String policyName)
Name of the policy document to delete.
|
copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic DeleteGroupPolicyRequest()
public DeleteGroupPolicyRequest(String groupName, String policyName)
groupName - Name of the group the policy is associated with.policyName - Name of the policy document to delete.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 DeleteGroupPolicyRequest 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 delete.public DeleteGroupPolicyRequest 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 delete.public String toString()
toString in class ObjectObject.toString()Copyright © 2014. All rights reserved.