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.Buildergroup(Consumer<Group.Builder> group) The description of the resource group.The description of the resource group.default CreateGroupResponse.BuildergroupConfiguration(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.BuilderresourceQuery(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
copyMethods inherited from interface software.amazon.awssdk.services.resourcegroups.model.ResourceGroupsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaGroup.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaResourceQuery.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaGroupConfiguration.builder().When the
Consumercompletes,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:
-