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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeFleetLocationCapacityResponse.BuilderfleetCapacity(Consumer<FleetCapacity.Builder> fleetCapacity)Resource capacity information for the requested fleet location.DescribeFleetLocationCapacityResponse.BuilderfleetCapacity(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 Detail
-
fleetCapacity
DescribeFleetLocationCapacityResponse.Builder fleetCapacity(FleetCapacity 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:
fleetCapacity(FleetCapacity)
-
-