Cloneable
, ReadLimitInfo
, ToCopyableBuilder<StopTaskRequest.Builder,StopTaskRequest>
@Generated("software.amazon.awssdk:codegen") public class StopTaskRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<StopTaskRequest.Builder,StopTaskRequest>
Modifier and Type | Class | Description |
---|---|---|
static interface |
StopTaskRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
static StopTaskRequest.Builder |
builder() |
|
String |
cluster() |
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task to stop.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
reason() |
An optional message specified when a task is stopped.
|
static Class<? extends StopTaskRequest.Builder> |
serializableBuilderClass() |
|
String |
task() |
The task ID or full Amazon Resource Name (ARN) entry of the task to stop.
|
StopTaskRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public 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.
public String task()
The task ID or full Amazon Resource Name (ARN) entry of the task to stop.
public 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.
public StopTaskRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<StopTaskRequest.Builder,StopTaskRequest>
public static StopTaskRequest.Builder builder()
public static Class<? extends StopTaskRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.