Interface CreateGroupResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateGroupResponse.Builder,CreateGroupResponse>,ResourceGroupsResponse.Builder,SdkBuilder<CreateGroupResponse.Builder,CreateGroupResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateGroupResponse
public static interface CreateGroupResponse.Builder extends ResourceGroupsResponse.Builder, SdkPojo, CopyableBuilder<CreateGroupResponse.Builder,CreateGroupResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateGroupResponse.Buildergroup(Consumer<Group.Builder> group)The description of the resource group.CreateGroupResponse.Buildergroup(Group group)The description of the resource group.default CreateGroupResponse.BuildergroupConfiguration(Consumer<GroupConfiguration.Builder> groupConfiguration)The service configuration associated with the resource group.CreateGroupResponse.BuildergroupConfiguration(GroupConfiguration groupConfiguration)The service configuration associated with the resource group.default CreateGroupResponse.BuilderresourceQuery(Consumer<ResourceQuery.Builder> resourceQuery)The resource query associated with the group.CreateGroupResponse.BuilderresourceQuery(ResourceQuery resourceQuery)The resource query associated with the group.CreateGroupResponse.Buildertags(Map<String,String> tags)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 Detail
-
group
CreateGroupResponse.Builder group(Group 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
default CreateGroupResponse.Builder group(Consumer<Group.Builder> 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:
group(Group)
-
resourceQuery
CreateGroupResponse.Builder resourceQuery(ResourceQuery 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
default CreateGroupResponse.Builder resourceQuery(Consumer<ResourceQuery.Builder> 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:
resourceQuery(ResourceQuery)
-
tags
CreateGroupResponse.Builder tags(Map<String,String> 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
CreateGroupResponse.Builder groupConfiguration(GroupConfiguration 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:
groupConfiguration(GroupConfiguration)
-
-