public static final class VersionWeight.Jsii$Pojo extends Object implements VersionWeight
VersionWeight.VersionWeight.Builder, VersionWeight.Jsii$Pojo, VersionWeight.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
protected FunctionVersion |
_version |
protected Number |
_weight |
| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Pojo()
Constructor used by builders.
|
| Modifier and Type | Method and Description |
|---|---|
FunctionVersion |
getVersion()
The version to route traffic to
|
Number |
getWeight()
How much weight to assign to this version (0..1)
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuilderprotected FunctionVersion _version
protected Number _weight
public FunctionVersion getVersion()
VersionWeightgetVersion in interface VersionWeightpublic Number getWeight()
VersionWeightgetWeight in interface VersionWeightCopyright © 2018. All rights reserved.