@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-03-28T21:34:27.933Z")
public interface WeightedTarget
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.appmesh.*; VirtualNode virtualNode; WeightedTarget weightedTarget = WeightedTarget.builder() .virtualNode(virtualNode) // the properties below are optional .weight(123) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
WeightedTarget.Builder
A builder for
WeightedTarget |
static class |
WeightedTarget.Jsii$Proxy
An implementation for
WeightedTarget |
Modifier and Type | Method and Description |
---|---|
static WeightedTarget.Builder |
builder() |
IVirtualNode |
getVirtualNode()
The VirtualNode the route points to.
|
default java.lang.Number |
getWeight()
The weight for the target.
|
IVirtualNode getVirtualNode()
default java.lang.Number getWeight()
Default: 1
static WeightedTarget.Builder builder()
WeightedTarget.Builder
of WeightedTarget