public class CreateGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateGroupRequest()
Default constructor for CreateGroupRequest object.
|
CreateGroupRequest(String groupName)
Constructs a new CreateGroupRequest object.
|
Modifier and Type | Method and Description |
---|---|
CreateGroupRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getGroupName()
The name of the group to create.
|
String |
getPath()
The path to the group.
|
int |
hashCode() |
void |
setGroupName(String groupName)
The name of the group to create.
|
void |
setPath(String path)
The path to the group.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateGroupRequest |
withGroupName(String groupName)
The name of the group to create.
|
CreateGroupRequest |
withPath(String path)
The path to the group.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public CreateGroupRequest()
public CreateGroupRequest(String groupName)
groupName
- The name of the group to create. Do not include the path in this
value.public void setPath(String path)
The path to the group. For more information about paths, see IAM Identifiers in the Using IAM guide.
This parameter is optional. If it is not included, it defaults to a slash (/).
path
- The path to the group. For more information about paths, see IAM Identifiers in the Using IAM guide.
This parameter is optional. If it is not included, it defaults to a slash (/).
public String getPath()
The path to the group. For more information about paths, see IAM Identifiers in the Using IAM guide.
This parameter is optional. If it is not included, it defaults to a slash (/).
This parameter is optional. If it is not included, it defaults to a slash (/).
public CreateGroupRequest withPath(String path)
The path to the group. For more information about paths, see IAM Identifiers in the Using IAM guide.
This parameter is optional. If it is not included, it defaults to a slash (/).
path
- The path to the group. For more information about paths, see IAM Identifiers in the Using IAM guide.
This parameter is optional. If it is not included, it defaults to a slash (/).
public void setGroupName(String groupName)
The name of the group to create. Do not include the path in this value.
groupName
- The name of the group to create. Do not include the path in this
value.public String getGroupName()
The name of the group to create. Do not include the path in this value.
public CreateGroupRequest withGroupName(String groupName)
The name of the group to create. Do not include the path in this value.
groupName
- The name of the group to create. Do not include the path in this
value.public String toString()
toString
in class Object
Object.toString()
public CreateGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.