Interface UpdateFleetCapacityRequest.Builder

    • Method Detail

      • fleetId

        UpdateFleetCapacityRequest.Builder fleetId​(String 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

        UpdateFleetCapacityRequest.Builder minSize​(Integer 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

        UpdateFleetCapacityRequest.Builder maxSize​(Integer 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

        UpdateFleetCapacityRequest.Builder location​(String 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.