public static final class DescribeVpnPbrRouteEntriesResponseBody.VpnPbrRouteEntry.Builder extends Object
构造器和说明 |
---|
Builder() |
public DescribeVpnPbrRouteEntriesResponseBody.VpnPbrRouteEntry.Builder createTime(Long createTime)
This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
public DescribeVpnPbrRouteEntriesResponseBody.VpnPbrRouteEntry.Builder nextHop(String nextHop)
public DescribeVpnPbrRouteEntriesResponseBody.VpnPbrRouteEntry.Builder nextHopTunnelId(String nextHopTunnelId)
This parameter is returned only if the VPN gateway supports IPsec-VPN connections in dual-tunnel mode.
public DescribeVpnPbrRouteEntriesResponseBody.VpnPbrRouteEntry.Builder priority(Integer priority)
A smaller value indicates a higher priority.
public DescribeVpnPbrRouteEntriesResponseBody.VpnPbrRouteEntry.Builder routeDest(String routeDest)
public DescribeVpnPbrRouteEntriesResponseBody.VpnPbrRouteEntry.Builder routeSource(String routeSource)
public DescribeVpnPbrRouteEntriesResponseBody.VpnPbrRouteEntry.Builder state(String state)
* **published**: advertised to the VPC route table. * **normal**: not advertised to the VPC route table.
public DescribeVpnPbrRouteEntriesResponseBody.VpnPbrRouteEntry.Builder vpnInstanceId(String vpnInstanceId)
public DescribeVpnPbrRouteEntriesResponseBody.VpnPbrRouteEntry.Builder weight(Integer weight)
For a VPN gateway that supports IPsec-VPN connections in single-tunnel mode, the weight of a policy-based route indicates the priority of the route. * **100**: a high priority If multiple policy-based routes with the same source CIDR block and destination CIDR block exist, the IPsec-VPN connection associated with the policy-based route is the active connection. * **0**: a low priority If multiple policy-based routes with the same source CIDR block and destination CIDR block exist, the IPsec-VPN connection associated with the policy-based route is the standby connection. > For a VPN gateway that does not support IPsec-VPN connections in single-tunnel mode, this parameter does not take effect.
public DescribeVpnPbrRouteEntriesResponseBody.VpnPbrRouteEntry build()
Copyright © 2024. All rights reserved.