Interface DescribeFleetCapacityResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeFleetCapacityResponse.Builder,
,DescribeFleetCapacityResponse> GameLiftResponse.Builder
,SdkBuilder<DescribeFleetCapacityResponse.Builder,
,DescribeFleetCapacityResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeFleetCapacityResponse
-
Method Summary
Modifier and TypeMethodDescriptionfleetCapacity
(Collection<FleetCapacity> fleetCapacity) A collection of objects that contains capacity information for each requested fleet ID.fleetCapacity
(Consumer<FleetCapacity.Builder>... fleetCapacity) A collection of objects that contains capacity information for each requested fleet ID.fleetCapacity
(FleetCapacity... fleetCapacity) A collection of objects that contains capacity information for each requested fleet ID.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
fleetCapacity
A collection of objects that contains capacity information for each requested fleet ID. Capacity objects are returned only for fleets that currently exist. Changes in desired instance value can take up to 1 minute to be reflected.
- Parameters:
fleetCapacity
- A collection of objects that contains capacity information for each requested fleet ID. Capacity objects are returned only for fleets that currently exist. Changes in desired instance value can take up to 1 minute to be reflected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fleetCapacity
A collection of objects that contains capacity information for each requested fleet ID. Capacity objects are returned only for fleets that currently exist. Changes in desired instance value can take up to 1 minute to be reflected.
- Parameters:
fleetCapacity
- A collection of objects that contains capacity information for each requested fleet ID. Capacity objects are returned only for fleets that currently exist. Changes in desired instance value can take up to 1 minute to be reflected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fleetCapacity
DescribeFleetCapacityResponse.Builder fleetCapacity(Consumer<FleetCapacity.Builder>... fleetCapacity) A collection of objects that contains capacity information for each requested fleet ID. Capacity objects are returned only for fleets that currently exist. Changes in desired instance value can take up to 1 minute to be reflected.
This is a convenience method that creates an instance of theFleetCapacity.Builder
avoiding the need to create one manually viaFleetCapacity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofleetCapacity(List<FleetCapacity>)
.- Parameters:
fleetCapacity
- a consumer that will call methods onFleetCapacity.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.
-