public class DeleteGroupPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DeleteGroupPolicy operation.
Deletes the specified inline policy that is embedded in the specified group.
A group can also have managed policies attached to it. To detach a managed policy from a group, use DetachGroupPolicy. For more information about policies, refer to Managed Policies and Inline Policies in the IAM User Guide .
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 |
|---|---|
DeleteGroupPolicyRequest |
clone() |
boolean |
equals(Object obj) |
String |
getGroupName()
The name (friendly name, not ARN) identifying the group that the
policy is embedded in.
|
String |
getPolicyName()
The name identifying the policy document to delete.
|
int |
hashCode() |
void |
setGroupName(String groupName)
The name (friendly name, not ARN) identifying the group that the
policy is embedded in.
|
void |
setPolicyName(String policyName)
The name identifying the policy document to delete.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteGroupPolicyRequest |
withGroupName(String groupName)
The name (friendly name, not ARN) identifying the group that the
policy is embedded in.
|
DeleteGroupPolicyRequest |
withPolicyName(String policyName)
The name identifying the policy document to delete.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic DeleteGroupPolicyRequest()
public DeleteGroupPolicyRequest(String groupName, String policyName)
groupName - The name (friendly name, not ARN) identifying the
group that the policy is embedded in.policyName - The name identifying 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 - The name (friendly name, not ARN) identifying the group that the
policy is embedded in.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 - The name (friendly name, not ARN) identifying the group that the
policy is embedded in.public String getPolicyName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]+
public void setPolicyName(String policyName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]+
policyName - The name identifying 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 - The name identifying the policy document to delete.public String toString()
toString in class ObjectObject.toString()public DeleteGroupPolicyRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.