Interface ListFleetDeploymentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListFleetDeploymentsResponse.Builder,,ListFleetDeploymentsResponse> GameLiftResponse.Builder,SdkBuilder<ListFleetDeploymentsResponse.Builder,,ListFleetDeploymentsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListFleetDeploymentsResponse
@Mutable
@NotThreadSafe
public static interface ListFleetDeploymentsResponse.Builder
extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<ListFleetDeploymentsResponse.Builder,ListFleetDeploymentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfleetDeployments(Collection<FleetDeployment> fleetDeployments) The requested deployment information.fleetDeployments(Consumer<FleetDeployment.Builder>... fleetDeployments) The requested deployment information.fleetDeployments(FleetDeployment... fleetDeployments) The requested deployment information.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
-
fleetDeployments
The requested deployment information.
- Parameters:
fleetDeployments- The requested deployment information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fleetDeployments
The requested deployment information.
- Parameters:
fleetDeployments- The requested deployment information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fleetDeployments
ListFleetDeploymentsResponse.Builder fleetDeployments(Consumer<FleetDeployment.Builder>... fleetDeployments) The requested deployment information.
This is a convenience method that creates an instance of theFleetDeployment.Builderavoiding the need to create one manually viaFleetDeployment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofleetDeployments(List<FleetDeployment>).- Parameters:
fleetDeployments- a consumer that will call methods onFleetDeployment.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.
-