public static interface CreateGroupRequest.Builder extends ResourceGroupsRequest.Builder, CopyableBuilder<CreateGroupRequest.Builder,CreateGroupRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateGroupRequest.Builder |
description(String description)
The description of the resource group.
|
CreateGroupRequest.Builder |
name(String name)
The name of the group, which is the identifier of the group in other operations.
|
CreateGroupRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateGroupRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
default CreateGroupRequest.Builder |
resourceQuery(Consumer<ResourceQuery.Builder> resourceQuery)
The resource query that determines which AWS resources are members of this group.
|
CreateGroupRequest.Builder |
resourceQuery(ResourceQuery resourceQuery)
The resource query that determines which AWS resources are members of this group.
|
CreateGroupRequest.Builder |
tags(Map<String,String> tags)
The tags to add to the group.
|
buildrequestOverrideConfigcopyapply, buildCreateGroupRequest.Builder name(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 127 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.
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 127 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.CreateGroupRequest.Builder description(String description)
The description of the resource group. Descriptions can have a maximum of 511 characters, including letters, numbers, hyphens, underscores, punctuation, and spaces.
description - The description of the resource group. Descriptions can have a maximum of 511 characters, including
letters, numbers, hyphens, underscores, punctuation, and spaces.CreateGroupRequest.Builder resourceQuery(ResourceQuery resourceQuery)
The resource query that determines which AWS resources are members of this group.
resourceQuery - The resource query that determines which AWS resources are members of this group.default CreateGroupRequest.Builder resourceQuery(Consumer<ResourceQuery.Builder> resourceQuery)
The resource query that determines which AWS resources are members of this group.
This is a convenience that creates an instance of theResourceQuery.Builder avoiding the need to
create one manually via ResourceQuery.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to resourceQuery(ResourceQuery).resourceQuery - a consumer that will call methods on ResourceQuery.BuilderresourceQuery(ResourceQuery)CreateGroupRequest.Builder tags(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 127 characters, and tag values can have a maximum length of 255 characters.
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 127 characters, and tag values can have a maximum length of 255
characters.CreateGroupRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.CreateGroupRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.