Interface UpdateFleetCapacityRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<UpdateFleetCapacityRequest.Builder,UpdateFleetCapacityRequest>, GameLiftRequest.Builder, SdkBuilder<UpdateFleetCapacityRequest.Builder,UpdateFleetCapacityRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
UpdateFleetCapacityRequest

public static interface UpdateFleetCapacityRequest.Builder extends GameLiftRequest.Builder, SdkPojo, CopyableBuilder<UpdateFleetCapacityRequest.Builder,UpdateFleetCapacityRequest>
  • Method Details

    • fleetId

      A unique identifier for the fleet to update capacity settings for. You can use either the fleet ID or ARN value.

      Parameters:
      fleetId - A unique identifier for the fleet to update capacity settings for. You can use either the fleet ID or ARN value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • desiredInstances

      UpdateFleetCapacityRequest.Builder desiredInstances(Integer desiredInstances)

      The number of Amazon EC2 instances you want to maintain in the specified fleet location. This value must fall between the minimum and maximum size limits. Changes in desired instance value can take up to 1 minute to be reflected when viewing the fleet's capacity settings.

      Parameters:
      desiredInstances - The number of Amazon EC2 instances you want to maintain in the specified fleet location. This value must fall between the minimum and maximum size limits. Changes in desired instance value can take up to 1 minute to be reflected when viewing the fleet's capacity settings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • minSize

      The minimum number of instances that are allowed in the specified fleet location. If this parameter is not set, the default is 0.

      Parameters:
      minSize - The minimum number of instances that are allowed in the specified fleet location. If this parameter is not set, the default is 0.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxSize

      The maximum number of instances that are allowed in the specified fleet location. If this parameter is not set, the default is 1.

      Parameters:
      maxSize - The maximum number of instances that are allowed in the specified fleet location. If this parameter is not set, the default is 1.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • location

      The name of a remote location to update fleet capacity settings for, in the form of an Amazon Web Services Region code such as us-west-2.

      Parameters:
      location - The name of a remote location to update fleet capacity settings for, in the form of an Amazon Web Services Region code such as us-west-2.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      UpdateFleetCapacityRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.