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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
SubmitTaskStateChangeRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
SubmitTaskStateChangeRequest.Builder |
reason(String reason)
The reason for the state change request.
|
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.
|
build
overrideConfiguration
copy
applyMutation, build
SubmitTaskStateChangeRequest.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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.SubmitTaskStateChangeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.