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 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

      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

      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 the FleetCapacity.Builder avoiding the need to create one manually via FleetCapacity.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to fleetCapacity(List<FleetCapacity>).

      Parameters:
      fleetCapacity - a consumer that will call methods on FleetCapacity.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.