public class Container extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
Container() |
| Modifier and Type | Method and Description |
|---|---|
Container |
clone() |
boolean |
equals(Object obj) |
String |
getContainerArn()
The Amazon Resource Name (ARN) of the container.
|
Integer |
getExitCode()
The exit code returned from the container.
|
String |
getLastStatus()
The last known status of the container.
|
String |
getName()
The name of the container.
|
List<NetworkBinding> |
getNetworkBindings() |
String |
getReason()
A short (255 max characters) human-readable string to provide
additional detail about a running or stopped container.
|
String |
getTaskArn()
The Amazon Resource Name (ARN) of the task.
|
int |
hashCode() |
void |
setContainerArn(String containerArn)
The Amazon Resource Name (ARN) of the container.
|
void |
setExitCode(Integer exitCode)
The exit code returned from the container.
|
void |
setLastStatus(String lastStatus)
The last known status of the container.
|
void |
setName(String name)
The name of the container.
|
void |
setNetworkBindings(Collection<NetworkBinding> networkBindings) |
void |
setReason(String reason)
A short (255 max characters) human-readable string to provide
additional detail about a running or stopped container.
|
void |
setTaskArn(String taskArn)
The Amazon Resource Name (ARN) of the task.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Container |
withContainerArn(String containerArn)
The Amazon Resource Name (ARN) of the container.
|
Container |
withExitCode(Integer exitCode)
The exit code returned from the container.
|
Container |
withLastStatus(String lastStatus)
The last known status of the container.
|
Container |
withName(String name)
The name of the container.
|
Container |
withNetworkBindings(Collection<NetworkBinding> networkBindings)
Returns a reference to this object so that method calls can be chained together.
|
Container |
withNetworkBindings(NetworkBinding... networkBindings)
Returns a reference to this object so that method calls can be chained together.
|
Container |
withReason(String reason)
A short (255 max characters) human-readable string to provide
additional detail about a running or stopped container.
|
Container |
withTaskArn(String taskArn)
The Amazon Resource Name (ARN) of the task.
|
public String getContainerArn()
public void setContainerArn(String containerArn)
containerArn - The Amazon Resource Name (ARN) of the container.public Container withContainerArn(String containerArn)
Returns a reference to this object so that method calls can be chained together.
containerArn - The Amazon Resource Name (ARN) of the container.public String getTaskArn()
public void setTaskArn(String taskArn)
taskArn - The Amazon Resource Name (ARN) of the task.public Container withTaskArn(String taskArn)
Returns a reference to this object so that method calls can be chained together.
taskArn - The Amazon Resource Name (ARN) of the task.public String getName()
public void setName(String name)
name - The name of the container.public Container withName(String name)
Returns a reference to this object so that method calls can be chained together.
name - The name of the container.public String getLastStatus()
public void setLastStatus(String lastStatus)
lastStatus - The last known status of the container.public Container withLastStatus(String lastStatus)
Returns a reference to this object so that method calls can be chained together.
lastStatus - The last known status of the container.public Integer getExitCode()
public void setExitCode(Integer exitCode)
exitCode - The exit code returned from the container.public Container withExitCode(Integer exitCode)
Returns a reference to this object so that method calls can be chained together.
exitCode - The exit code returned from the container.public String getReason()
public void setReason(String reason)
reason - A short (255 max characters) human-readable string to provide
additional detail about a running or stopped container.public Container withReason(String reason)
Returns a reference to this object so that method calls can be chained together.
reason - A short (255 max characters) human-readable string to provide
additional detail about a running or stopped container.public List<NetworkBinding> getNetworkBindings()
public void setNetworkBindings(Collection<NetworkBinding> networkBindings)
networkBindings - public Container withNetworkBindings(NetworkBinding... networkBindings)
Returns a reference to this object so that method calls can be chained together.
networkBindings - public Container withNetworkBindings(Collection<NetworkBinding> networkBindings)
Returns a reference to this object so that method calls can be chained together.
networkBindings - public String toString()
toString in class ObjectObject.toString()Copyright © 2015. All rights reserved.