Interface SpotFleetRequestConfig.Builder

All Superinterfaces:
Buildable, CopyableBuilder<SpotFleetRequestConfig.Builder,SpotFleetRequestConfig>, SdkBuilder<SpotFleetRequestConfig.Builder,SpotFleetRequestConfig>, SdkPojo
Enclosing class:
SpotFleetRequestConfig

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

    • activityStatus

      SpotFleetRequestConfig.Builder activityStatus(String activityStatus)

      The progress of the Spot Fleet request. If there is an error, the status is error. After all requests are placed, the status is pending_fulfillment. If the size of the fleet is equal to or greater than its target capacity, the status is fulfilled. If the size of the fleet is decreased, the status is pending_termination while Spot Instances are terminating.

      Parameters:
      activityStatus - The progress of the Spot Fleet request. If there is an error, the status is error. After all requests are placed, the status is pending_fulfillment. If the size of the fleet is equal to or greater than its target capacity, the status is fulfilled. If the size of the fleet is decreased, the status is pending_termination while Spot Instances are terminating.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • activityStatus

      SpotFleetRequestConfig.Builder activityStatus(ActivityStatus activityStatus)

      The progress of the Spot Fleet request. If there is an error, the status is error. After all requests are placed, the status is pending_fulfillment. If the size of the fleet is equal to or greater than its target capacity, the status is fulfilled. If the size of the fleet is decreased, the status is pending_termination while Spot Instances are terminating.

      Parameters:
      activityStatus - The progress of the Spot Fleet request. If there is an error, the status is error. After all requests are placed, the status is pending_fulfillment. If the size of the fleet is equal to or greater than its target capacity, the status is fulfilled. If the size of the fleet is decreased, the status is pending_termination while Spot Instances are terminating.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createTime

      SpotFleetRequestConfig.Builder createTime(Instant createTime)

      The creation date and time of the request.

      Parameters:
      createTime - The creation date and time of the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • spotFleetRequestConfig

      SpotFleetRequestConfig.Builder spotFleetRequestConfig(SpotFleetRequestConfigData spotFleetRequestConfig)

      The configuration of the Spot Fleet request.

      Parameters:
      spotFleetRequestConfig - The configuration of the Spot Fleet request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • spotFleetRequestConfig

      default SpotFleetRequestConfig.Builder spotFleetRequestConfig(Consumer<SpotFleetRequestConfigData.Builder> spotFleetRequestConfig)

      The configuration of the Spot Fleet request.

      This is a convenience method that creates an instance of the SpotFleetRequestConfigData.Builder avoiding the need to create one manually via SpotFleetRequestConfigData.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to spotFleetRequestConfig(SpotFleetRequestConfigData).

      Parameters:
      spotFleetRequestConfig - a consumer that will call methods on SpotFleetRequestConfigData.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • spotFleetRequestId

      SpotFleetRequestConfig.Builder spotFleetRequestId(String spotFleetRequestId)

      The ID of the Spot Fleet request.

      Parameters:
      spotFleetRequestId - The ID of the Spot Fleet request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • spotFleetRequestState

      SpotFleetRequestConfig.Builder spotFleetRequestState(String spotFleetRequestState)

      The state of the Spot Fleet request.

      Parameters:
      spotFleetRequestState - The state of the Spot Fleet request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • spotFleetRequestState

      SpotFleetRequestConfig.Builder spotFleetRequestState(BatchState spotFleetRequestState)

      The state of the Spot Fleet request.

      Parameters:
      spotFleetRequestState - The state of the Spot Fleet request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tags

      The tags for a Spot Fleet resource.

      Parameters:
      tags - The tags for a Spot Fleet resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags for a Spot Fleet resource.

      Parameters:
      tags - The tags for a Spot Fleet resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags for a Spot Fleet resource.

      This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

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

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: