Interface TaskContainerDependency.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TaskContainerDependency.Builder,TaskContainerDependency>,SdkBuilder<TaskContainerDependency.Builder,TaskContainerDependency>,SdkPojo
- Enclosing class:
- TaskContainerDependency
public static interface TaskContainerDependency.Builder extends SdkPojo, CopyableBuilder<TaskContainerDependency.Builder,TaskContainerDependency>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TaskContainerDependency.Buildercondition(String condition)The dependency condition of the container.TaskContainerDependency.BuildercontainerName(String containerName)A unique identifier for the container.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
containerName
TaskContainerDependency.Builder containerName(String containerName)
A unique identifier for the container.
- Parameters:
containerName- A unique identifier for the container.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
condition
TaskContainerDependency.Builder condition(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
-
-