Interface DescribeFleetLocationCapacityResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeFleetLocationCapacityResponse.Builder,
,DescribeFleetLocationCapacityResponse> GameLiftResponse.Builder
,SdkBuilder<DescribeFleetLocationCapacityResponse.Builder,
,DescribeFleetLocationCapacityResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeFleetLocationCapacityResponse
public static interface DescribeFleetLocationCapacityResponse.Builder
extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<DescribeFleetLocationCapacityResponse.Builder,DescribeFleetLocationCapacityResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfleetCapacity
(Consumer<FleetCapacity.Builder> fleetCapacity) Resource capacity information for the requested fleet location.fleetCapacity
(FleetCapacity fleetCapacity) Resource capacity information for the requested fleet location.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
Resource capacity information for the requested fleet location. Capacity objects are returned only for fleets and locations that currently exist. Changes in desired instance value can take up to 1 minute to be reflected.
- Parameters:
fleetCapacity
- Resource capacity information for the requested fleet location. Capacity objects are returned only for fleets and locations 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
default DescribeFleetLocationCapacityResponse.Builder fleetCapacity(Consumer<FleetCapacity.Builder> fleetCapacity) Resource capacity information for the requested fleet location. Capacity objects are returned only for fleets and locations 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(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:
-