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
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, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaFleetCapacity.builder().When the
Consumercompletes,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:
 
 
 -