Interface SpotFleetRequestConfig.Builder

    • Method Detail

      • 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, ActivityStatus
      • 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:
        ActivityStatus, ActivityStatus
      • 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.
      • 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:
        BatchState, BatchState
      • 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:
        BatchState, BatchState
      • tags

        SpotFleetRequestConfig.Builder tags​(Collection<Tag> 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

        SpotFleetRequestConfig.Builder tags​(Tag... 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

        SpotFleetRequestConfig.Builder tags​(Consumer<Tag.Builder>... 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).

        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:
        #tags(java.util.Collection)