Interface ContainerDependency.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ContainerDependency.Builder,ContainerDependency>,SdkBuilder<ContainerDependency.Builder,ContainerDependency>,SdkPojo
- Enclosing class:
- ContainerDependency
public static interface ContainerDependency.Builder extends SdkPojo, CopyableBuilder<ContainerDependency.Builder,ContainerDependency>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContainerDependency.Buildercondition(String condition)The dependency condition of the container.ContainerDependency.Buildercondition(ContainerCondition condition)The dependency condition of the container.ContainerDependency.BuildercontainerName(String containerName)The name of a 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
ContainerDependency.Builder containerName(String containerName)
The name of a container.
- Parameters:
containerName- The name of a container.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
condition
ContainerDependency.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 azerostatus. This condition can't be set on an essential container. -
HEALTHY- This condition validates that the dependent container passes its Docker health check before permitting other containers to start. This requires that the dependent container has health checks configured. This condition is confirmed only at task startup.
- 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 azerostatus. This condition can't be set on an essential container. -
HEALTHY- This condition validates that the dependent container passes its Docker health check before permitting other containers to start. This requires that the dependent container has health checks configured. This condition is confirmed only at task startup.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ContainerCondition,ContainerCondition
-
-
condition
ContainerDependency.Builder condition(ContainerCondition 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 azerostatus. This condition can't be set on an essential container. -
HEALTHY- This condition validates that the dependent container passes its Docker health check before permitting other containers to start. This requires that the dependent container has health checks configured. This condition is confirmed only at task startup.
- 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 azerostatus. This condition can't be set on an essential container. -
HEALTHY- This condition validates that the dependent container passes its Docker health check before permitting other containers to start. This requires that the dependent container has health checks configured. This condition is confirmed only at task startup.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ContainerCondition,ContainerCondition
-
-
-