@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEcsTaskDefinitionContainerDefinitionsDependsOnDetails extends Object implements Serializable, Cloneable, StructuredPojo
A dependency that is defined for container startup and shutdown.
Constructor and Description |
---|
AwsEcsTaskDefinitionContainerDefinitionsDependsOnDetails() |
Modifier and Type | Method and Description |
---|---|
AwsEcsTaskDefinitionContainerDefinitionsDependsOnDetails |
clone() |
boolean |
equals(Object obj) |
String |
getCondition()
The dependency condition of the dependent container.
|
String |
getContainerName()
The name of the dependent container.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCondition(String condition)
The dependency condition of the dependent container.
|
void |
setContainerName(String containerName)
The name of the dependent container.
|
String |
toString()
Returns a string representation of this object.
|
AwsEcsTaskDefinitionContainerDefinitionsDependsOnDetails |
withCondition(String condition)
The dependency condition of the dependent container.
|
AwsEcsTaskDefinitionContainerDefinitionsDependsOnDetails |
withContainerName(String containerName)
The name of the dependent container.
|
public AwsEcsTaskDefinitionContainerDefinitionsDependsOnDetails()
public void setCondition(String condition)
The dependency condition of the dependent container. Indicates the required status of the dependent container before the current container can start.
condition
- The dependency condition of the dependent container. Indicates the required status of the dependent
container before the current container can start.public String getCondition()
The dependency condition of the dependent container. Indicates the required status of the dependent container before the current container can start.
public AwsEcsTaskDefinitionContainerDefinitionsDependsOnDetails withCondition(String condition)
The dependency condition of the dependent container. Indicates the required status of the dependent container before the current container can start.
condition
- The dependency condition of the dependent container. Indicates the required status of the dependent
container before the current container can start.public void setContainerName(String containerName)
The name of the dependent container.
containerName
- The name of the dependent container.public String getContainerName()
The name of the dependent container.
public AwsEcsTaskDefinitionContainerDefinitionsDependsOnDetails withContainerName(String containerName)
The name of the dependent container.
containerName
- The name of the dependent container.public String toString()
toString
in class Object
Object.toString()
public AwsEcsTaskDefinitionContainerDefinitionsDependsOnDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.