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.Buildergroup(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
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, sdkFieldsMethods 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.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:
-