public static interface SubmitContainerStateChangeRequest.Builder extends EcsRequest.Builder, SdkPojo, CopyableBuilder<SubmitContainerStateChangeRequest.Builder,SubmitContainerStateChangeRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildSubmitContainerStateChangeRequest.Builder cluster(String cluster)
The short name or full ARN of the cluster that hosts the container.
cluster - The short name or full 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 runtimeId(String runtimeId)
The ID of the Docker container.
runtimeId - The ID of the Docker 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 that's returned for the state change request.
exitCode - The exit code that's 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 method that creates an instance of theNetworkBinding.Builder avoiding the need to create one
manually via NetworkBinding.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #networkBindings(List.
networkBindings - a consumer that will call methods on
NetworkBinding.Builder#networkBindings(java.util.Collection) SubmitContainerStateChangeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderSubmitContainerStateChangeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.