Class TaskContainerDependency
- java.lang.Object
-
- software.amazon.awssdk.services.batch.model.TaskContainerDependency
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<TaskContainerDependency.Builder,TaskContainerDependency>
@Generated("software.amazon.awssdk:codegen") public final class TaskContainerDependency extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TaskContainerDependency.Builder,TaskContainerDependency>
A list of containers that this task depends on.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
TaskContainerDependency.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TaskContainerDependency.Builder
builder()
String
condition()
The dependency condition of the container.String
containerName()
A unique identifier for the container.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
List<SdkField<?>>
sdkFields()
static Class<? extends TaskContainerDependency.Builder>
serializableBuilderClass()
TaskContainerDependency.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
containerName
public final String containerName()
A unique identifier for the container.
- Returns:
- A unique identifier for the container.
-
condition
public final 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 asCOMPLETE
, but it also requires that the container exits with a zero status. This condition can't be set on an essential container.
- Returns:
- 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 asCOMPLETE
, but it also requires that the container exits with a zero status. This condition can't be set on an essential container.
-
-
-
toBuilder
public TaskContainerDependency.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<TaskContainerDependency.Builder,TaskContainerDependency>
-
builder
public static TaskContainerDependency.Builder builder()
-
serializableBuilderClass
public static Class<? extends TaskContainerDependency.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-