public class CreateGroupRequest extends AmazonWebServiceRequest implements java.io.Serializable
CreateGroup operation.
Creates a new group.
For information about the number of groups you can create, see Limitations on IAM Entities in Using AWS Identity and Access Management .
| コンストラクタと説明 |
|---|
CreateGroupRequest()
Default constructor for a new CreateGroupRequest object.
|
CreateGroupRequest(java.lang.String groupName)
Constructs a new CreateGroupRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getGroupName()
Name of the group to create.
|
java.lang.String |
getPath()
The path to the group.
|
int |
hashCode() |
void |
setGroupName(java.lang.String groupName)
Name of the group to create.
|
void |
setPath(java.lang.String path)
The path to the group.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateGroupRequest |
withGroupName(java.lang.String groupName)
Name of the group to create.
|
CreateGroupRequest |
withPath(java.lang.String path)
The path to the group.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic CreateGroupRequest()
public CreateGroupRequest(java.lang.String groupName)
groupName - Name of the group to create. Do not include the path
in this value.public java.lang.String getPath()
This parameter is optional. If it is not included, it defaults to a slash (/).
Constraints:
Length: 1 - 512
Pattern: (/)|(/[!-]+/)
This parameter is optional. If it is not included, it defaults to a slash (/).
public void setPath(java.lang.String path)
This parameter is optional. If it is not included, it defaults to a slash (/).
Constraints:
Length: 1 - 512
Pattern: (/)|(/[!-]+/)
path - The path to the group. For more information about paths, see Identifiers for IAM Entities in Using AWS
Identity and Access Management. This parameter is optional. If it is not included, it defaults to a slash (/).
public CreateGroupRequest withPath(java.lang.String path)
This parameter is optional. If it is not included, it defaults to a slash (/).
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 512
Pattern: (/)|(/[!-]+/)
path - The path to the group. For more information about paths, see Identifiers for IAM Entities in Using AWS
Identity and Access Management. This parameter is optional. If it is not included, it defaults to a slash (/).
public java.lang.String getGroupName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
public void setGroupName(java.lang.String groupName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
groupName - Name of the group to create. Do not include the path in this value.public CreateGroupRequest withGroupName(java.lang.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 create. Do not include the path in this value.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object