Interface CreateGroupResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateGroupResponse.Builder,CreateGroupResponse>,SdkBuilder<CreateGroupResponse.Builder,CreateGroupResponse>,SdkPojo,SdkResponse.Builder,XRayResponse.Builder
- Enclosing class:
- CreateGroupResponse
@Mutable @NotThreadSafe public static interface CreateGroupResponse.Builder extends XRayResponse.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 group that was created.CreateGroupResponse.Buildergroup(Group group)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, sdkFieldNameToField, 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 Detail
-
group
CreateGroupResponse.Builder group(Group 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
default CreateGroupResponse.Builder group(Consumer<Group.Builder> 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.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)
-
-