@Stability(value=Experimental) public static final class VersionWeight.Builder extends Object implements software.amazon.jsii.Builder<VersionWeight>
VersionWeight| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
VersionWeight |
build()
Builds the configured instance.
|
VersionWeight.Builder |
version(IVersion version)
Sets the value of
VersionWeight.getVersion() |
VersionWeight.Builder |
weight(Number weight)
Sets the value of
VersionWeight.getWeight() |
@Stability(value=Experimental) public VersionWeight.Builder version(IVersion version)
VersionWeight.getVersion()version - The version to route traffic to. This parameter is required.this@Stability(value=Experimental) public VersionWeight.Builder weight(Number weight)
VersionWeight.getWeight()weight - How much weight to assign to this version (0..1). This parameter is required.this@Stability(value=Experimental) public VersionWeight build()
build in interface software.amazon.jsii.Builder<VersionWeight>VersionWeightNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.