public class DeleteGroupRequest extends AmazonWebServiceRequest implements Serializable
Deletes a group. Currently only groups with no members can be deleted.
Calling this action requires developer credentials.
| Constructor and Description |
|---|
DeleteGroupRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getGroupName()
The name of the group.
|
String |
getUserPoolId()
The user pool ID for the user pool.
|
int |
hashCode() |
void |
setGroupName(String groupName)
The name of the group.
|
void |
setUserPoolId(String userPoolId)
The user pool ID for the user pool.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteGroupRequest |
withGroupName(String groupName)
The name of the group.
|
DeleteGroupRequest |
withUserPoolId(String userPoolId)
The user pool ID for the user pool.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getGroupName()
The name of the group.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
The name of the group.
public void setGroupName(String groupName)
The name of the group.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
groupName - The name of the group.
public DeleteGroupRequest withGroupName(String groupName)
The name of the group.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
groupName - The name of the group.
public String getUserPoolId()
The user pool ID for the user pool.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
The user pool ID for the user pool.
public void setUserPoolId(String userPoolId)
The user pool ID for the user pool.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId - The user pool ID for the user pool.
public DeleteGroupRequest withUserPoolId(String userPoolId)
The user pool ID for the user pool.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId - The user pool ID for the user pool.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.