Interface GetGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetGroupResponse.Builder,
,GetGroupResponse> ResourceGroupsResponse.Builder
,SdkBuilder<GetGroupResponse.Builder,
,GetGroupResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetGroupResponse
public static interface GetGroupResponse.Builder
extends ResourceGroupsResponse.Builder, SdkPojo, CopyableBuilder<GetGroupResponse.Builder,GetGroupResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetGroupResponse.Builder
group
(Consumer<Group.Builder> group) A structure that contains the metadata details for the specified resource group.A structure that contains the metadata details for the specified resource 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
A structure that contains the metadata details for the specified resource group. Use GetGroupQuery and GetGroupConfiguration to get those additional details of the resource group.
- Parameters:
group
- A structure that contains the metadata details for the specified resource group. Use GetGroupQuery and GetGroupConfiguration to get those additional details of the resource group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
group
A structure that contains the metadata details for the specified resource group. Use GetGroupQuery and GetGroupConfiguration to get those additional details 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:
-