public static interface SubmitContainerStateChangeRequest.Builder extends EcsRequest.Builder, CopyableBuilder<SubmitContainerStateChangeRequest.Builder,SubmitContainerStateChangeRequest>
build
overrideConfiguration
copy
applyMutation, build
SubmitContainerStateChangeRequest.Builder cluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container.
cluster
- The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container.SubmitContainerStateChangeRequest.Builder task(String task)
The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.
task
- The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.SubmitContainerStateChangeRequest.Builder containerName(String containerName)
The name of the container.
containerName
- The name of the container.SubmitContainerStateChangeRequest.Builder status(String status)
The status of the state change request.
status
- The status of the state change request.SubmitContainerStateChangeRequest.Builder exitCode(Integer exitCode)
The exit code returned for the state change request.
exitCode
- The exit code returned for the state change request.SubmitContainerStateChangeRequest.Builder reason(String reason)
The reason for the state change request.
reason
- The reason for the state change request.SubmitContainerStateChangeRequest.Builder networkBindings(Collection<NetworkBinding> networkBindings)
The network bindings of the container.
networkBindings
- The network bindings of the container.SubmitContainerStateChangeRequest.Builder networkBindings(NetworkBinding... networkBindings)
The network bindings of the container.
networkBindings
- The network bindings of the container.SubmitContainerStateChangeRequest.Builder networkBindings(Consumer<NetworkBinding.Builder>... networkBindings)
The network bindings of the container.
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 #networkBindings(List)
.networkBindings
- a consumer that will call methods on List.Builder
#networkBindings(List)
SubmitContainerStateChangeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.SubmitContainerStateChangeRequest.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.