public static final class VersionWeight.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements VersionWeight
VersionWeight
VersionWeight.Builder, VersionWeight.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
IVersion |
getVersion()
The version to route traffic to.
|
java.lang.Number |
getWeight()
How much weight to assign to this version (0..1).
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final IVersion getVersion()
VersionWeight
getVersion
in interface VersionWeight
public final java.lang.Number getWeight()
VersionWeight
getWeight
in interface VersionWeight
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()