Interface CreateGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateGroupResponse.Builder,
,CreateGroupResponse> SdkBuilder<CreateGroupResponse.Builder,
,CreateGroupResponse> SdkPojo
,SdkResponse.Builder
,XRayResponse.Builder
- Enclosing class:
CreateGroupResponse
public static interface CreateGroupResponse.Builder
extends XRayResponse.Builder, SdkPojo, CopyableBuilder<CreateGroupResponse.Builder,CreateGroupResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateGroupResponse.Builder
group
(Consumer<Group.Builder> group) The group that was created.The group that was created.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
Methods inherited from interface software.amazon.awssdk.services.xray.model.XRayResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
group
The group that was created. Contains the name of the group that was created, the Amazon Resource Name (ARN) of the group that was generated based on the group name, the filter expression, and the insight configuration that was assigned to the group.
- Parameters:
group
- The group that was created. Contains the name of the group that was created, the Amazon Resource Name (ARN) of the group that was generated based on the group name, the filter expression, and the insight configuration that was assigned to the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
group
The group that was created. Contains the name of the group that was created, the Amazon Resource Name (ARN) of the group that was generated based on the group name, the filter expression, and the insight configuration that was assigned to the 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:
-