Interface StartCapacityTaskRequest.Builder

    • Method Detail

      • outpostIdentifier

        StartCapacityTaskRequest.Builder outpostIdentifier​(String outpostIdentifier)

        The ID or ARN of the Outposts associated with the specified capacity task.

        Parameters:
        outpostIdentifier - The ID or ARN of the Outposts associated with the specified capacity task.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • orderId

        StartCapacityTaskRequest.Builder orderId​(String orderId)

        The ID of the Amazon Web Services Outposts order associated with the specified capacity task.

        Parameters:
        orderId - The ID of the Amazon Web Services Outposts order associated with the specified capacity task.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instancePools

        StartCapacityTaskRequest.Builder instancePools​(Collection<InstanceTypeCapacity> instancePools)

        The instance pools specified in the capacity task.

        Parameters:
        instancePools - The instance pools specified in the capacity task.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instancePools

        StartCapacityTaskRequest.Builder instancePools​(InstanceTypeCapacity... instancePools)

        The instance pools specified in the capacity task.

        Parameters:
        instancePools - The instance pools specified in the capacity task.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instancesToExclude

        StartCapacityTaskRequest.Builder instancesToExclude​(InstancesToExclude instancesToExclude)

        List of user-specified running instances that must not be stopped in order to free up the capacity needed to run the capacity task.

        Parameters:
        instancesToExclude - List of user-specified running instances that must not be stopped in order to free up the capacity needed to run the capacity task.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dryRun

        StartCapacityTaskRequest.Builder dryRun​(Boolean dryRun)

        You can request a dry run to determine if the instance type and instance size changes is above or below available instance capacity. Requesting a dry run does not make any changes to your plan.

        Parameters:
        dryRun - You can request a dry run to determine if the instance type and instance size changes is above or below available instance capacity. Requesting a dry run does not make any changes to your plan.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • taskActionOnBlockingInstances

        StartCapacityTaskRequest.Builder taskActionOnBlockingInstances​(String taskActionOnBlockingInstances)

        Specify one of the following options in case an instance is blocking the capacity task from running.

        • WAIT_FOR_EVACUATION - Checks every 10 minutes over 48 hours to determine if instances have stopped and capacity is available to complete the task.

        • FAIL_TASK - The capacity task fails.

        Parameters:
        taskActionOnBlockingInstances - Specify one of the following options in case an instance is blocking the capacity task from running.

        • WAIT_FOR_EVACUATION - Checks every 10 minutes over 48 hours to determine if instances have stopped and capacity is available to complete the task.

        • FAIL_TASK - The capacity task fails.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TaskActionOnBlockingInstances, TaskActionOnBlockingInstances
      • taskActionOnBlockingInstances

        StartCapacityTaskRequest.Builder taskActionOnBlockingInstances​(TaskActionOnBlockingInstances taskActionOnBlockingInstances)

        Specify one of the following options in case an instance is blocking the capacity task from running.

        • WAIT_FOR_EVACUATION - Checks every 10 minutes over 48 hours to determine if instances have stopped and capacity is available to complete the task.

        • FAIL_TASK - The capacity task fails.

        Parameters:
        taskActionOnBlockingInstances - Specify one of the following options in case an instance is blocking the capacity task from running.

        • WAIT_FOR_EVACUATION - Checks every 10 minutes over 48 hours to determine if instances have stopped and capacity is available to complete the task.

        • FAIL_TASK - The capacity task fails.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TaskActionOnBlockingInstances, TaskActionOnBlockingInstances