public static interface StopTaskRequest.Builder extends EcsRequest.Builder, SdkPojo, CopyableBuilder<StopTaskRequest.Builder,StopTaskRequest>
| Modifier and Type | Method and 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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
StopTaskRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
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) of the task to stop.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildStopTaskRequest.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) of the task to stop.
task - The task ID or full Amazon Resource Name (ARN) of the task to stop.StopTaskRequest.Builder reason(String reason)
An optional message specified when a task is stopped. For example, if you're using a custom scheduler, you can use this parameter to specify the reason for stopping the task here, and the message appears 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're using a custom scheduler,
you can use this parameter to specify the reason for stopping the task here, and the message appears
in subsequent DescribeTasks API operations on this task. Up to 255 characters are allowed in
this message.StopTaskRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderStopTaskRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.