CopyableBuilder<StopTaskRequest.Builder,StopTaskRequest>
, SdkBuilder<StopTaskRequest.Builder,StopTaskRequest>
public static interface StopTaskRequest.Builder extends CopyableBuilder<StopTaskRequest.Builder,StopTaskRequest>
Modifier and Type | Method | Description |
---|---|---|
StopTaskRequest.Builder |
cluster(String cluster) |
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task to stop.
|
StopTaskRequest.Builder |
reason(String reason) |
An optional message specified when a task is stopped.
|
StopTaskRequest.Builder |
task(String task) |
The task ID or full Amazon Resource Name (ARN) entry of the task to stop.
|
copy
apply, build
StopTaskRequest.Builder cluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task to stop. If you do not specify a cluster, the default cluster is assumed.
cluster
- The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task to stop. If you
do not specify a cluster, the default cluster is assumed.StopTaskRequest.Builder task(String task)
The task ID or full Amazon Resource Name (ARN) entry of the task to stop.
task
- The task ID or full Amazon Resource Name (ARN) entry of the task to stop.StopTaskRequest.Builder reason(String reason)
An optional message specified when a task is stopped. For example, if you are using a custom scheduler, you can use this parameter to specify the reason for stopping the task here, and the message will appear in subsequent DescribeTasks API operations on this task. Up to 255 characters are allowed in this message.
reason
- An optional message specified when a task is stopped. For example, if you are using a custom
scheduler, you can use this parameter to specify the reason for stopping the task here, and the
message will appear in subsequent DescribeTasks API operations on this task. Up to 255
characters are allowed in this message.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.