Interface ListPlacementsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListPlacementsResponse.Builder,
,ListPlacementsResponse> Iot1ClickProjectsResponse.Builder
,SdkBuilder<ListPlacementsResponse.Builder,
,ListPlacementsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListPlacementsResponse
public static interface ListPlacementsResponse.Builder
extends Iot1ClickProjectsResponse.Builder, SdkPojo, CopyableBuilder<ListPlacementsResponse.Builder,ListPlacementsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token used to retrieve the next set of results - will be effectively empty if there are no further results.placements
(Collection<PlacementSummary> placements) An object listing the requested placements.placements
(Consumer<PlacementSummary.Builder>... placements) An object listing the requested placements.placements
(PlacementSummary... placements) An object listing the requested placements.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iot1clickprojects.model.Iot1ClickProjectsResponse.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 Details
-
placements
An object listing the requested placements.
- Parameters:
placements
- An object listing the requested placements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
placements
An object listing the requested placements.
- Parameters:
placements
- An object listing the requested placements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
placements
An object listing the requested placements.
This is a convenience method that creates an instance of thePlacementSummary.Builder
avoiding the need to create one manually viaPlacementSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toplacements(List<PlacementSummary>)
.- Parameters:
placements
- a consumer that will call methods onPlacementSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token used to retrieve the next set of results - will be effectively empty if there are no further results.
- Parameters:
nextToken
- The token used to retrieve the next set of results - will be effectively empty if there are no further results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-