public class DeleteGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DeleteGroup operation
.
Deletes the specified group. The group must not contain any users or have any attached policies.
NOOP
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 |
---|---|
DeleteGroupRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getGroupName()
The name of the group to delete.
|
int |
hashCode() |
void |
setGroupName(String groupName)
The name of the group to delete.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteGroupRequest |
withGroupName(String groupName)
The name of the group to delete.
|
copyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public DeleteGroupRequest()
public DeleteGroupRequest(String groupName)
groupName
- The 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
- The 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
- The name of the group to delete.public String toString()
toString
in class Object
Object.toString()
public DeleteGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.