Interface CreatePlacementGroupResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreatePlacementGroupResponse.Builder,CreatePlacementGroupResponse>
,Ec2Response.Builder
,SdkBuilder<CreatePlacementGroupResponse.Builder,CreatePlacementGroupResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- CreatePlacementGroupResponse
public static interface CreatePlacementGroupResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreatePlacementGroupResponse.Builder,CreatePlacementGroupResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreatePlacementGroupResponse.Builder
placementGroup(Consumer<PlacementGroup.Builder> placementGroup)
Information about the placement group.CreatePlacementGroupResponse.Builder
placementGroup(PlacementGroup placementGroup)
Information about the placement group.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.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 Detail
-
placementGroup
CreatePlacementGroupResponse.Builder placementGroup(PlacementGroup placementGroup)
Information about the placement group.
- Parameters:
placementGroup
- Information about the placement group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
placementGroup
default CreatePlacementGroupResponse.Builder placementGroup(Consumer<PlacementGroup.Builder> placementGroup)
Information about the placement group.
This is a convenience method that creates an instance of thePlacementGroup.Builder
avoiding the need to create one manually viaPlacementGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toplacementGroup(PlacementGroup)
.- Parameters:
placementGroup
- a consumer that will call methods onPlacementGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
placementGroup(PlacementGroup)
-
-