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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListPlacementsResponse.BuildernextToken(String nextToken)The token used to retrieve the next set of results - will be effectively empty if there are no further results.ListPlacementsResponse.Builderplacements(Collection<PlacementSummary> placements)An object listing the requested placements.ListPlacementsResponse.Builderplacements(Consumer<PlacementSummary.Builder>... placements)An object listing the requested placements.ListPlacementsResponse.Builderplacements(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 Detail
-
placements
ListPlacementsResponse.Builder placements(Collection<PlacementSummary> 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
ListPlacementsResponse.Builder placements(PlacementSummary... 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
ListPlacementsResponse.Builder placements(Consumer<PlacementSummary.Builder>... placements)
An object listing the requested placements.
This is a convenience method that creates an instance of thePlacementSummary.Builderavoiding the need to create one manually viaPlacementSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#placements(List.) - 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:
#placements(java.util.Collection)
-
nextToken
ListPlacementsResponse.Builder nextToken(String 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.
-
-