@Stability(value=Stable) public static final class ContainerDependency.Builder extends Object implements software.amazon.jsii.Builder<ContainerDependency>
ContainerDependency| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ContainerDependency |
build()
Builds the configured instance.
|
ContainerDependency.Builder |
condition(ContainerDependencyCondition condition)
Sets the value of
ContainerDependency.getCondition() |
ContainerDependency.Builder |
container(ContainerDefinition container)
Sets the value of
ContainerDependency.getContainer() |
@Stability(value=Stable) public ContainerDependency.Builder container(ContainerDefinition container)
ContainerDependency.getContainer()container - The container to depend on. This parameter is required.this@Stability(value=Stable) public ContainerDependency.Builder condition(ContainerDependencyCondition condition)
ContainerDependency.getCondition()condition - The state the container needs to be in to satisfy the dependency and proceed with startup.
Valid values are ContainerDependencyCondition.START, ContainerDependencyCondition.COMPLETE,
ContainerDependencyCondition.SUCCESS and ContainerDependencyCondition.HEALTHY.this@Stability(value=Stable) public ContainerDependency build()
build in interface software.amazon.jsii.Builder<ContainerDependency>ContainerDependencyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.