public static interface SubmitContainerStateChangeRequest.Builder extends ECSRequest.Builder, CopyableBuilder<SubmitContainerStateChangeRequest.Builder,SubmitContainerStateChangeRequest>
| Modifier and Type | Method and Description |
|---|---|
SubmitContainerStateChangeRequest.Builder |
cluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container.
|
SubmitContainerStateChangeRequest.Builder |
containerName(String containerName)
The name of the container.
|
SubmitContainerStateChangeRequest.Builder |
exitCode(Integer exitCode)
The exit code returned for the state change request.
|
SubmitContainerStateChangeRequest.Builder |
networkBindings(Collection<NetworkBinding> networkBindings)
The network bindings of the container.
|
SubmitContainerStateChangeRequest.Builder |
networkBindings(Consumer<NetworkBinding.Builder>... networkBindings)
The network bindings of the container.
|
SubmitContainerStateChangeRequest.Builder |
networkBindings(NetworkBinding... networkBindings)
The network bindings of the container.
|
SubmitContainerStateChangeRequest.Builder |
reason(String reason)
The reason for the state change request.
|
SubmitContainerStateChangeRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
SubmitContainerStateChangeRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
SubmitContainerStateChangeRequest.Builder |
status(String status)
The status of the state change request.
|
SubmitContainerStateChangeRequest.Builder |
task(String task)
The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.
|
buildrequestOverrideConfigcopyapply, buildSubmitContainerStateChangeRequest.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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.SubmitContainerStateChangeRequest.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.