CopyableBuilder<Container.Builder,Container>
, SdkBuilder<Container.Builder,Container>
public static interface Container.Builder extends CopyableBuilder<Container.Builder,Container>
Modifier and Type | Method | Description |
---|---|---|
Container.Builder |
containerArn(String containerArn) |
The Amazon Resource Name (ARN) of the container.
|
Container.Builder |
exitCode(Integer exitCode) |
The exit code returned from the container.
|
Container.Builder |
lastStatus(String lastStatus) |
The last known status of the container.
|
Container.Builder |
name(String name) |
The name of the container.
|
Container.Builder |
networkBindings(Collection<NetworkBinding> networkBindings) |
The network bindings associated with the container.
|
Container.Builder |
networkBindings(NetworkBinding... networkBindings) |
The network bindings associated with the container.
|
Container.Builder |
reason(String reason) |
A short (255 max characters) human-readable string to provide additional details about a running or stopped
container.
|
Container.Builder |
taskArn(String taskArn) |
The Amazon Resource Name (ARN) of the task.
|
copy
apply, build
Container.Builder containerArn(String containerArn)
The Amazon Resource Name (ARN) of the container.
containerArn
- The Amazon Resource Name (ARN) of the container.Container.Builder taskArn(String taskArn)
The Amazon Resource Name (ARN) of the task.
taskArn
- The Amazon Resource Name (ARN) of the task.Container.Builder name(String name)
The name of the container.
name
- The name of the container.Container.Builder lastStatus(String lastStatus)
The last known status of the container.
lastStatus
- The last known status of the container.Container.Builder exitCode(Integer exitCode)
The exit code returned from the container.
exitCode
- The exit code returned from the container.Container.Builder reason(String reason)
A short (255 max characters) human-readable string to provide additional details about a running or stopped container.
reason
- A short (255 max characters) human-readable string to provide additional details about a running or
stopped container.Container.Builder networkBindings(Collection<NetworkBinding> networkBindings)
The network bindings associated with the container.
networkBindings
- The network bindings associated with the container.Container.Builder networkBindings(NetworkBinding... networkBindings)
The network bindings associated with 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 associated with the container.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.