Interface DescribeFleetCapacityResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeFleetCapacityResponse.Builder,DescribeFleetCapacityResponse>,GameLiftResponse.Builder,SdkBuilder<DescribeFleetCapacityResponse.Builder,DescribeFleetCapacityResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeFleetCapacityResponse
public static interface DescribeFleetCapacityResponse.Builder extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<DescribeFleetCapacityResponse.Builder,DescribeFleetCapacityResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeFleetCapacityResponse.BuilderfleetCapacity(Collection<FleetCapacity> fleetCapacity)A collection of objects that contains capacity information for each requested fleet ID.DescribeFleetCapacityResponse.BuilderfleetCapacity(Consumer<FleetCapacity.Builder>... fleetCapacity)A collection of objects that contains capacity information for each requested fleet ID.DescribeFleetCapacityResponse.BuilderfleetCapacity(FleetCapacity... fleetCapacity)A collection of objects that contains capacity information for each requested fleet ID.DescribeFleetCapacityResponse.BuildernextToken(String nextToken)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 Detail
-
fleetCapacity
DescribeFleetCapacityResponse.Builder fleetCapacity(Collection<FleetCapacity> 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(FleetCapacity... 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.Builderavoiding the need to create one manually viaFleetCapacity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#fleetCapacity(List.) - 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:
#fleetCapacity(java.util.Collection)
-
nextToken
DescribeFleetCapacityResponse.Builder nextToken(String 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.
-
-