public class DeleteGroupRequest extends AmazonWebServiceRequest implements Serializable
DeleteGroup operation
.
Deletes the specified group. The group must not contain any users or have any attached policies.
Constructor and Description |
---|
DeleteGroupRequest()
Default constructor for a new DeleteGroupRequest object.
|
DeleteGroupRequest(String groupName)
Constructs a new DeleteGroupRequest object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getGroupName()
Name of the group to delete.
|
int |
hashCode() |
void |
setGroupName(String groupName)
Name of the group to delete.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteGroupRequest |
withGroupName(String groupName)
Name of the group to delete.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public DeleteGroupRequest()
public DeleteGroupRequest(String groupName)
groupName
- Name of the group 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 to delete.public DeleteGroupRequest 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 to delete.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.