@Stability(value=Experimental) public static final class DependencyCoordinates.Builder extends Object implements software.amazon.jsii.Builder<DependencyCoordinates>
DependencyCoordinates| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
DependencyCoordinates |
build()
Builds the configured instance.
|
DependencyCoordinates.Builder |
name(String name)
Sets the value of
DependencyCoordinates.getName() |
DependencyCoordinates.Builder |
version(String version)
Sets the value of
DependencyCoordinates.getVersion() |
@Stability(value=Experimental) public DependencyCoordinates.Builder name(String name)
DependencyCoordinates.getName()name - The package manager name of the dependency (e.g. `leftpad` for npm). This parameter is required.
NOTE: For package managers that use complex coordinates (like Maven), we
will codify it into a string somehow.this@Stability(value=Experimental) public DependencyCoordinates.Builder version(String version)
DependencyCoordinates.getVersion()version - Semantic version version requirement.this@Stability(value=Experimental) public DependencyCoordinates build()
build in interface software.amazon.jsii.Builder<DependencyCoordinates>DependencyCoordinatesNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.