@Stability(value=Stable) public static final class Dependency.Builder extends Object implements software.amazon.jsii.Builder<Dependency>
Dependency| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
Dependency |
build()
Builds the configured instance.
|
Dependency.Builder |
source(IConstruct source)
Sets the value of
Dependency.getSource() |
Dependency.Builder |
target(IConstruct target)
Sets the value of
Dependency.getTarget() |
@Stability(value=Stable) public Dependency.Builder source(IConstruct source)
Dependency.getSource()source - Source the dependency. This parameter is required.this@Stability(value=Stable) public Dependency.Builder target(IConstruct target)
Dependency.getTarget()target - Target of the dependency. This parameter is required.this@Stability(value=Stable) public Dependency build()
build in interface software.amazon.jsii.Builder<Dependency>DependencyNullPointerException - if any required attribute was not providedCopyright © 2020. All rights reserved.