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
copyMethods inherited from interface software.amazon.awssdk.services.gamelift.model.GameLiftResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaContainerFleet.builder().When the
Consumercompletes,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.
-