public static interface CreateGroupRequest.Builder extends ResourceGroupsRequest.Builder, SdkPojo, CopyableBuilder<CreateGroupRequest.Builder,CreateGroupRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateGroupRequest.Builder |
configuration(Collection<GroupConfigurationItem> configuration)
A configuration associates the resource group with an AWS service and specifies how the service can interact
with the resources in the group.
|
CreateGroupRequest.Builder |
configuration(Consumer<GroupConfigurationItem.Builder>... configuration)
A configuration associates the resource group with an AWS service and specifies how the service can interact
with the resources in the group.
|
CreateGroupRequest.Builder |
configuration(GroupConfigurationItem... configuration)
A configuration associates the resource group with an AWS service and specifies how the service can interact
with the resources in the group.
|
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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateGroupRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
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.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateGroupRequest.Builder name(String name)
The name of the group, which is the identifier of the group in other operations. You can't change the name of
a resource group after you create it. A resource group name can consist of letters, numbers, hyphens,
periods, and underscores. The name cannot start with AWS or aws; these are
reserved. A resource group name must be unique within each AWS Region in your AWS account.
name - The name of the group, which is the identifier of the group in other operations. You can't change the
name of a resource group after you create it. A resource group name can consist of letters, numbers,
hyphens, periods, and underscores. The name cannot start with AWS or aws;
these are reserved. A resource group name must be unique within each AWS Region in your AWS account.CreateGroupRequest.Builder description(String description)
The description of the resource group. Descriptions can consist of letters, numbers, hyphens, underscores, periods, and spaces.
description - The description of the resource group. Descriptions can consist of letters, numbers, hyphens,
underscores, periods, and spaces.CreateGroupRequest.Builder resourceQuery(ResourceQuery resourceQuery)
The resource query that determines which AWS resources are members of this group. For more information about resource queries, see Create a tag-based group in Resource Groups.
A resource group can contain either a ResourceQuery or a Configuration, but not
both.
resourceQuery - The resource query that determines which AWS resources are members of this group. For more information
about resource queries, see Create a tag-based group in Resource Groups.
A resource group can contain either a ResourceQuery or a Configuration, but
not both.
default CreateGroupRequest.Builder resourceQuery(Consumer<ResourceQuery.Builder> resourceQuery)
The resource query that determines which AWS resources are members of this group. For more information about resource queries, see Create a tag-based group in Resource Groups.
A resource group can contain either a ResourceQuery or a Configuration, but not
both.
ResourceQuery.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 key-value pair string.
tags - The tags to add to the group. A tag is key-value pair string.CreateGroupRequest.Builder configuration(Collection<GroupConfigurationItem> configuration)
A configuration associates the resource group with an AWS service and specifies how the service can interact with the resources in the group. A configuration is an array of GroupConfigurationItem elements. For details about the syntax of service configurations, see Service configurations for resource groups.
A resource group can contain either a Configuration or a ResourceQuery, but not
both.
configuration - A configuration associates the resource group with an AWS service and specifies how the service can
interact with the resources in the group. A configuration is an array of GroupConfigurationItem
elements. For details about the syntax of service configurations, see Service configurations for
resource groups.
A resource group can contain either a Configuration or a ResourceQuery, but
not both.
CreateGroupRequest.Builder configuration(GroupConfigurationItem... configuration)
A configuration associates the resource group with an AWS service and specifies how the service can interact with the resources in the group. A configuration is an array of GroupConfigurationItem elements. For details about the syntax of service configurations, see Service configurations for resource groups.
A resource group can contain either a Configuration or a ResourceQuery, but not
both.
configuration - A configuration associates the resource group with an AWS service and specifies how the service can
interact with the resources in the group. A configuration is an array of GroupConfigurationItem
elements. For details about the syntax of service configurations, see Service configurations for
resource groups.
A resource group can contain either a Configuration or a ResourceQuery, but
not both.
CreateGroupRequest.Builder configuration(Consumer<GroupConfigurationItem.Builder>... configuration)
A configuration associates the resource group with an AWS service and specifies how the service can interact with the resources in the group. A configuration is an array of GroupConfigurationItem elements. For details about the syntax of service configurations, see Service configurations for resource groups.
A resource group can contain either a Configuration or a ResourceQuery, but not
both.
List.Builder
avoiding the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called
immediately and its result is passed to #configuration(List) .configuration - a consumer that will call methods on List.Builder #configuration(List) CreateGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2020. All rights reserved.