CopyableBuilder<SubmitContainerStateChangeRequest.Builder,SubmitContainerStateChangeRequest>
, SdkBuilder<SubmitContainerStateChangeRequest.Builder,SubmitContainerStateChangeRequest>
public static interface SubmitContainerStateChangeRequest.Builder extends CopyableBuilder<SubmitContainerStateChangeRequest.Builder,SubmitContainerStateChangeRequest>
Modifier and Type | Method | 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(NetworkBinding... networkBindings) |
The network bindings of the container.
|
SubmitContainerStateChangeRequest.Builder |
reason(String reason) |
The reason for the state change request.
|
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.
|
copy
apply, 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.
NOTE: This method appends the values to the existing list (if any). Use
#setNetworkBindings(java.util.Collection)
or #withNetworkBindings(java.util.Collection)
if
you want to override the existing values.
networkBindings
- The network bindings of the container.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.