@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TaskContainerDependency extends Object implements Serializable, Cloneable, StructuredPojo
A list of containers that this task depends on.
Constructor and Description |
---|
TaskContainerDependency() |
Modifier and Type | Method and Description |
---|---|
TaskContainerDependency |
clone() |
boolean |
equals(Object obj) |
String |
getCondition()
The dependency condition of the container.
|
String |
getContainerName()
A unique identifier for the container.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCondition(String condition)
The dependency condition of the container.
|
void |
setContainerName(String containerName)
A unique identifier for the container.
|
String |
toString()
Returns a string representation of this object.
|
TaskContainerDependency |
withCondition(String condition)
The dependency condition of the container.
|
TaskContainerDependency |
withContainerName(String containerName)
A unique identifier for the container.
|
public void setContainerName(String containerName)
A unique identifier for the container.
containerName
- A unique identifier for the container.public String getContainerName()
A unique identifier for the container.
public TaskContainerDependency withContainerName(String containerName)
A unique identifier for the container.
containerName
- A unique identifier for the container.public void setCondition(String condition)
The dependency condition of the container. The following are the available conditions and their behavior:
START
- This condition emulates the behavior of links and volumes today. It validates that a
dependent container is started before permitting other containers to start.
COMPLETE
- This condition validates that a dependent container runs to completion (exits) before
permitting other containers to start. This can be useful for nonessential containers that run a script and then
exit. This condition can't be set on an essential container.
SUCCESS
- This condition is the same as COMPLETE
, but it also requires that the
container exits with a zero status. This condition can't be set on an essential container.
condition
- The dependency condition of the container. The following are the available conditions and their
behavior:
START
- This condition emulates the behavior of links and volumes today. It validates that a
dependent container is started before permitting other containers to start.
COMPLETE
- This condition validates that a dependent container runs to completion (exits)
before permitting other containers to start. This can be useful for nonessential containers that run a
script and then exit. This condition can't be set on an essential container.
SUCCESS
- This condition is the same as COMPLETE
, but it also requires that the
container exits with a zero status. This condition can't be set on an essential container.
public String getCondition()
The dependency condition of the container. The following are the available conditions and their behavior:
START
- This condition emulates the behavior of links and volumes today. It validates that a
dependent container is started before permitting other containers to start.
COMPLETE
- This condition validates that a dependent container runs to completion (exits) before
permitting other containers to start. This can be useful for nonessential containers that run a script and then
exit. This condition can't be set on an essential container.
SUCCESS
- This condition is the same as COMPLETE
, but it also requires that the
container exits with a zero status. This condition can't be set on an essential container.
START
- This condition emulates the behavior of links and volumes today. It validates that a
dependent container is started before permitting other containers to start.
COMPLETE
- This condition validates that a dependent container runs to completion (exits)
before permitting other containers to start. This can be useful for nonessential containers that run a
script and then exit. This condition can't be set on an essential container.
SUCCESS
- This condition is the same as COMPLETE
, but it also requires that the
container exits with a zero status. This condition can't be set on an essential container.
public TaskContainerDependency withCondition(String condition)
The dependency condition of the container. The following are the available conditions and their behavior:
START
- This condition emulates the behavior of links and volumes today. It validates that a
dependent container is started before permitting other containers to start.
COMPLETE
- This condition validates that a dependent container runs to completion (exits) before
permitting other containers to start. This can be useful for nonessential containers that run a script and then
exit. This condition can't be set on an essential container.
SUCCESS
- This condition is the same as COMPLETE
, but it also requires that the
container exits with a zero status. This condition can't be set on an essential container.
condition
- The dependency condition of the container. The following are the available conditions and their
behavior:
START
- This condition emulates the behavior of links and volumes today. It validates that a
dependent container is started before permitting other containers to start.
COMPLETE
- This condition validates that a dependent container runs to completion (exits)
before permitting other containers to start. This can be useful for nonessential containers that run a
script and then exit. This condition can't be set on an essential container.
SUCCESS
- This condition is the same as COMPLETE
, but it also requires that the
container exits with a zero status. This condition can't be set on an essential container.
public String toString()
toString
in class Object
Object.toString()
public TaskContainerDependency clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.