Interface CreateGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateGroupResponse.Builder,
,CreateGroupResponse> ResourceGroupsResponse.Builder
,SdkBuilder<CreateGroupResponse.Builder,
,CreateGroupResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateGroupResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateGroupResponse.Builder
group
(Consumer<Group.Builder> group) The description of the resource group.The description of the resource group.default CreateGroupResponse.Builder
groupConfiguration
(Consumer<GroupConfiguration.Builder> groupConfiguration) The service configuration associated with the resource group.groupConfiguration
(GroupConfiguration groupConfiguration) The service configuration associated with the resource group.default CreateGroupResponse.Builder
resourceQuery
(Consumer<ResourceQuery.Builder> resourceQuery) The resource query associated with the group.resourceQuery
(ResourceQuery resourceQuery) The resource query associated with the group.The tags associated with the group.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.resourcegroups.model.ResourceGroupsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
group
The description of the resource group.
- Parameters:
group
- The description of the resource group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
group
The description of the resource group.
This is a convenience method that creates an instance of theGroup.Builder
avoiding the need to create one manually viaGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togroup(Group)
.- Parameters:
group
- a consumer that will call methods onGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceQuery
The resource query associated with the group. For more information about resource queries, see Create a tag-based group in Resource Groups.
- Parameters:
resourceQuery
- The resource query associated with the group. For more information about resource queries, see Create a tag-based group in Resource Groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceQuery
The resource query associated with the group. For more information about resource queries, see Create a tag-based group in Resource Groups.
This is a convenience method that creates an instance of theResourceQuery.Builder
avoiding the need to create one manually viaResourceQuery.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourceQuery(ResourceQuery)
.- Parameters:
resourceQuery
- a consumer that will call methods onResourceQuery.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags associated with the group.
- Parameters:
tags
- The tags associated with the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupConfiguration
The service configuration associated with the resource group. For details about the syntax of a service configuration, see Service configurations for Resource Groups.
- Parameters:
groupConfiguration
- The service configuration associated with the resource group. For details about the syntax of a service configuration, see Service configurations for Resource Groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupConfiguration
default CreateGroupResponse.Builder groupConfiguration(Consumer<GroupConfiguration.Builder> groupConfiguration) The service configuration associated with the resource group. For details about the syntax of a service configuration, see Service configurations for Resource Groups.
This is a convenience method that creates an instance of theGroupConfiguration.Builder
avoiding the need to create one manually viaGroupConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togroupConfiguration(GroupConfiguration)
.- Parameters:
groupConfiguration
- a consumer that will call methods onGroupConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-