@Generated(value="software.amazon.awssdk:codegen") public final class CreateGroupRequest extends ResourceGroupsRequest 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() |
String |
description()
The description of the resource group.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
String |
name()
The name of the group, which is the identifier of the group in other operations.
|
ResourceQuery |
resourceQuery()
The resource query that determines which AWS resources are members of this group.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateGroupRequest.Builder> |
serializableBuilderClass() |
Map<String,String> |
tags()
The tags to add to the group.
|
CreateGroupRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String name()
The name of the group, which is the identifier of the group in other operations. A resource group name cannot be
updated after it is created. A resource group name can have a maximum of 128 characters, including letters,
numbers, hyphens, dots, and underscores. The name cannot start with AWS or aws; these
are reserved. A resource group name must be unique within your account.
AWS
or aws; these are reserved. A resource group name must be unique within your account.public String description()
The description of the resource group. Descriptions can have a maximum of 511 characters, including letters, numbers, hyphens, underscores, punctuation, and spaces.
public ResourceQuery resourceQuery()
The resource query that determines which AWS resources are members of this group.
public boolean hasTags()
public Map<String,String> tags()
The tags to add to the group. A tag is a string-to-string map of key-value pairs. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public CreateGroupRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateGroupRequest.Builder,CreateGroupRequest>toBuilder in class ResourceGroupsRequestpublic static CreateGroupRequest.Builder builder()
public static Class<? extends CreateGroupRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.