@Generated(value="software.amazon.awssdk:codegen") public final class CreateGroupRequest extends IamRequest implements ToCopyableBuilder<CreateGroupRequest.Builder,CreateGroupRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateGroupRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateGroupRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
groupName()
The name of the group to create.
|
int |
hashCode() |
String |
path()
The path to the group.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateGroupRequest.Builder> |
serializableBuilderClass() |
CreateGroupRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String path()
The path to the group. For more information about paths, see IAM identifiers in the IAM User Guide.
This parameter is optional. If it is not included, it defaults to a slash (/).
This parameter allows (through its regex pattern) a string of
characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward
slashes. In addition, it can contain any ASCII character from the ! (!) through the DEL
character (), including most punctuation characters, digits, and upper and lowercased letters.
This parameter is optional. If it is not included, it defaults to a slash (/).
This parameter allows (through its regex pattern) a string
of characters consisting of either a forward slash (/) by itself or a string that must begin and end with
forward slashes. In addition, it can contain any ASCII character from the ! (!) through
the DEL character (), including most punctuation characters, digits, and upper and
lowercased letters.
public final String groupName()
The name of the group to create. Do not include the path in this value.
IAM user, group, role, and policy names must be unique within the account. Names are not distinguished by case. For example, you cannot create resources named both "MyResource" and "myresource".
IAM user, group, role, and policy names must be unique within the account. Names are not distinguished by case. For example, you cannot create resources named both "MyResource" and "myresource".
public CreateGroupRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateGroupRequest.Builder,CreateGroupRequest>toBuilder in class IamRequestpublic static CreateGroupRequest.Builder builder()
public static Class<? extends CreateGroupRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.