Interface ListContainerFleetsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListContainerFleetsResponse.Builder,
,ListContainerFleetsResponse> GameLiftResponse.Builder
,SdkBuilder<ListContainerFleetsResponse.Builder,
,ListContainerFleetsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListContainerFleetsResponse
@Mutable
@NotThreadSafe
public static interface ListContainerFleetsResponse.Builder
extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<ListContainerFleetsResponse.Builder,ListContainerFleetsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncontainerFleets
(Collection<ContainerFleet> containerFleets) A collection of container fleet objects for all fleets that match the request criteria.containerFleets
(Consumer<ContainerFleet.Builder>... containerFleets) A collection of container fleet objects for all fleets that match the request criteria.containerFleets
(ContainerFleet... containerFleets) A collection of container fleet objects for all fleets that match the request criteria.A token that indicates where to resume retrieving results on the next call to this operation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.gamelift.model.GameLiftResponse.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
containerFleets
A collection of container fleet objects for all fleets that match the request criteria.
- Parameters:
containerFleets
- A collection of container fleet objects for all fleets that match the request criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerFleets
A collection of container fleet objects for all fleets that match the request criteria.
- Parameters:
containerFleets
- A collection of container fleet objects for all fleets that match the request criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerFleets
ListContainerFleetsResponse.Builder containerFleets(Consumer<ContainerFleet.Builder>... containerFleets) A collection of container fleet objects for all fleets that match the request criteria.
This is a convenience method that creates an instance of theContainerFleet.Builder
avoiding the need to create one manually viaContainerFleet.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontainerFleets(List<ContainerFleet>)
.- Parameters:
containerFleets
- a consumer that will call methods onContainerFleet.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.
- Parameters:
nextToken
- A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-