VpnPbrRouteEntryProps
Properties for defining a VpnPbrRouteEntry
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-vpnpbrrouteentry
Initializer
import com.aliyun.ros.cdk.vpc.VpnPbrRouteEntryProps;
VpnPbrRouteEntryProps.builder()
.nextHop(java.lang.String)
.nextHop(IResolvable)
.publishVpc(java.lang.Boolean)
.publishVpc(IResolvable)
.routeDest(java.lang.String)
.routeDest(IResolvable)
.routeSource(java.lang.String)
.routeSource(IResolvable)
.vpnGatewayId(java.lang.String)
.vpnGatewayId(IResolvable)
.weight(java.lang.Number)
.weight(IResolvable)
// .description(java.lang.String)
// .description(IResolvable)
// .overlayMode(java.lang.String)
// .overlayMode(IResolvable)
// .priority(java.lang.Number)
// .priority(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
nextHop |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property nextHop: The next hop of the destination route entry. |
publishVpc |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property publishVpc: Indicates whether to publish the destination route to the VPC. |
routeDest |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property routeDest: The destination CIDR block of the destination route. |
routeSource |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property routeSource: The source CIDR block of the policy-based route. |
vpnGatewayId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property vpnGatewayId: The ID of the VPN Gateway. |
weight |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property weight: The weight of the destination route. |
description |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property description: The description of the VPN destination route. |
overlayMode |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property overlayMode: The overlay mode. |
priority |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property priority: Policy priority for policy routing. |
nextHop
Required
public java.lang.Object getNextHop();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property nextHop: The next hop of the destination route entry.
publishVpc
Required
public java.lang.Object getPublishVpc();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property publishVpc: Indicates whether to publish the destination route to the VPC.
Valid values: true: Publish the destination route to the VPC. false: Do not publish the destination route to the VPC.
routeDest
Required
public java.lang.Object getRouteDest();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property routeDest: The destination CIDR block of the destination route.
routeSource
Required
public java.lang.Object getRouteSource();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property routeSource: The source CIDR block of the policy-based route.
vpnGatewayId
Required
public java.lang.Object getVpnGatewayId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property vpnGatewayId: The ID of the VPN Gateway.
weight
Required
public java.lang.Object getWeight();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property weight: The weight of the destination route.
Valid values: 0|100.
description
Optional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: The description of the VPN destination route.
overlayMode
Optional
public java.lang.Object getOverlayMode();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property overlayMode: The overlay mode.
priority
Optional
public java.lang.Object getPriority();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property priority: Policy priority for policy routing.
Range: 1-100 Default value: 10. The smaller the policy priority number, the higher the priority of the policy route.