Class CfnListener.WeightedTargetGroupProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.vpclattice.CfnListener.WeightedTargetGroupProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnListener.WeightedTargetGroupProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnListener.WeightedTargetGroupProperty
@Stability(Stable)
@Internal
public static final class CfnListener.WeightedTargetGroupProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnListener.WeightedTargetGroupProperty
An implementation for
CfnListener.WeightedTargetGroupProperty
-
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.vpclattice.CfnListener.WeightedTargetGroupProperty
CfnListener.WeightedTargetGroupProperty.Builder, CfnListener.WeightedTargetGroupProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnListener.WeightedTargetGroupProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
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 theCfnListener.WeightedTargetGroupProperty.Builder
.
-
-
Method Details
-
getTargetGroupIdentifier
Description copied from interface:CfnListener.WeightedTargetGroupProperty
The ID of the target group.- Specified by:
getTargetGroupIdentifier
in interfaceCfnListener.WeightedTargetGroupProperty
- See Also:
-
getWeight
Description copied from interface:CfnListener.WeightedTargetGroupProperty
Only required if you specify multiple target groups for a forward action.The weight determines how requests are distributed to the target group. For example, if you specify two target groups, each with a weight of 10, each target group receives half the requests. If you specify two target groups, one with a weight of 10 and the other with a weight of 20, the target group with a weight of 20 receives twice as many requests as the other target group. If there's only one target group specified, then the default value is 100.
- Specified by:
getWeight
in interfaceCfnListener.WeightedTargetGroupProperty
- See Also:
-
$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()
-