public static interface SubmitTaskStateChangeRequest.Builder extends ECSRequest.Builder, CopyableBuilder<SubmitTaskStateChangeRequest.Builder,SubmitTaskStateChangeRequest>
| Modifier and Type | Method and Description |
|---|---|
SubmitTaskStateChangeRequest.Builder |
attachments(AttachmentStateChange... attachments)
Any attachments associated with the state change request.
|
SubmitTaskStateChangeRequest.Builder |
attachments(Collection<AttachmentStateChange> attachments)
Any attachments associated with the state change request.
|
SubmitTaskStateChangeRequest.Builder |
attachments(Consumer<AttachmentStateChange.Builder>... attachments)
Any attachments associated with the state change request.
|
SubmitTaskStateChangeRequest.Builder |
cluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.
|
SubmitTaskStateChangeRequest.Builder |
containers(Collection<ContainerStateChange> containers)
Any containers associated with the state change request.
|
SubmitTaskStateChangeRequest.Builder |
containers(Consumer<ContainerStateChange.Builder>... containers)
Any containers associated with the state change request.
|
SubmitTaskStateChangeRequest.Builder |
containers(ContainerStateChange... containers)
Any containers associated with the state change request.
|
SubmitTaskStateChangeRequest.Builder |
reason(String reason)
The reason for the state change request.
|
SubmitTaskStateChangeRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
SubmitTaskStateChangeRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
SubmitTaskStateChangeRequest.Builder |
status(String status)
The status of the state change request.
|
SubmitTaskStateChangeRequest.Builder |
task(String task)
The task ID or full Amazon Resource Name (ARN) of the task in the state change request.
|
buildrequestOverrideConfigcopyapply, buildSubmitTaskStateChangeRequest.Builder cluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.
cluster - The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.SubmitTaskStateChangeRequest.Builder task(String task)
The task ID or full Amazon Resource Name (ARN) of the task in the state change request.
task - The task ID or full Amazon Resource Name (ARN) of the task in the state change request.SubmitTaskStateChangeRequest.Builder status(String status)
The status of the state change request.
status - The status of the state change request.SubmitTaskStateChangeRequest.Builder reason(String reason)
The reason for the state change request.
reason - The reason for the state change request.SubmitTaskStateChangeRequest.Builder containers(Collection<ContainerStateChange> containers)
Any containers associated with the state change request.
containers - Any containers associated with the state change request.SubmitTaskStateChangeRequest.Builder containers(ContainerStateChange... containers)
Any containers associated with the state change request.
containers - Any containers associated with the state change request.SubmitTaskStateChangeRequest.Builder containers(Consumer<ContainerStateChange.Builder>... containers)
Any containers associated with the state change request.
This is a convenience that creates an instance of theList.Builder avoiding the
need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately
and its result is passed to #containers(List) .containers - a consumer that will call methods on List.Builder #containers(List) SubmitTaskStateChangeRequest.Builder attachments(Collection<AttachmentStateChange> attachments)
Any attachments associated with the state change request.
attachments - Any attachments associated with the state change request.SubmitTaskStateChangeRequest.Builder attachments(AttachmentStateChange... attachments)
Any attachments associated with the state change request.
attachments - Any attachments associated with the state change request.SubmitTaskStateChangeRequest.Builder attachments(Consumer<AttachmentStateChange.Builder>... attachments)
Any attachments associated with the state change request.
This is a convenience that creates an instance of theList.Builder avoiding
the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called
immediately and its result is passed to #attachments(List) .attachments - a consumer that will call methods on List.Builder #attachments(List) SubmitTaskStateChangeRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.SubmitTaskStateChangeRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.