Class WeightedTarget.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.appmesh.WeightedTarget.Jsii$Proxy
- All Implemented Interfaces:
WeightedTarget
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
WeightedTarget
@Stability(Stable)
@Internal
public static final class WeightedTarget.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements WeightedTarget
An implementation for
WeightedTarget
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.appmesh.WeightedTarget
WeightedTarget.Builder, WeightedTarget.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(WeightedTarget.Builder builder) Constructor that initializes the object based on literal property values passed by theWeightedTarget.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final Number
getPort()
The port to match from the request.final IVirtualNode
The VirtualNode the route points to.final Number
The weight for the target.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theWeightedTarget.Builder
.
-
-
Method Details
-
getVirtualNode
Description copied from interface:WeightedTarget
The VirtualNode the route points to.- Specified by:
getVirtualNode
in interfaceWeightedTarget
-
getPort
Description copied from interface:WeightedTarget
The port to match from the request.Default: - do not match on port
- Specified by:
getPort
in interfaceWeightedTarget
-
getWeight
Description copied from interface:WeightedTarget
The weight for the target.Default: 1
- Specified by:
getWeight
in interfaceWeightedTarget
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-