Interface CreateGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateGroupResponse.Builder,
,CreateGroupResponse> SdkBuilder<CreateGroupResponse.Builder,
,CreateGroupResponse> SdkPojo
,SdkResponse.Builder
,SyntheticsResponse.Builder
- Enclosing class:
CreateGroupResponse
public static interface CreateGroupResponse.Builder
extends SyntheticsResponse.Builder, SdkPojo, CopyableBuilder<CreateGroupResponse.Builder,CreateGroupResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateGroupResponse.Builder
group
(Consumer<Group.Builder> group) A structure that contains information about the group that was just created.A structure that contains information about the group that was just 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.synthetics.model.SyntheticsResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
group
A structure that contains information about the group that was just created.
- Parameters:
group
- A structure that contains information about the group that was just created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
group
A structure that contains information about the group that was just created.
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:
-