Interface WeightedTarget.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<WeightedTarget.Builder,,WeightedTarget> SdkBuilder<WeightedTarget.Builder,,WeightedTarget> SdkPojo
- Enclosing class:
WeightedTarget
public static interface WeightedTarget.Builder
extends SdkPojo, CopyableBuilder<WeightedTarget.Builder,WeightedTarget>
-
Method Summary
Modifier and TypeMethodDescriptionThe targeted port of the weighted object.virtualNode(String virtualNode) The virtual node to associate with the weighted target.The relative weight of the weighted target.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
port
The targeted port of the weighted object.
- Parameters:
port- The targeted port of the weighted object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
virtualNode
The virtual node to associate with the weighted target.
- Parameters:
virtualNode- The virtual node to associate with the weighted target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
weight
The relative weight of the weighted target.
- Parameters:
weight- The relative weight of the weighted target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-