public static final class ListTransitRouterCidrResponseBody.CidrLists.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
ListTransitRouterCidrResponseBody.CidrLists |
build() |
ListTransitRouterCidrResponseBody.CidrLists.Builder |
cidr(String cidr)
The CIDR block of the transit router.
|
ListTransitRouterCidrResponseBody.CidrLists.Builder |
description(String description)
The description of the CIDR block.
|
ListTransitRouterCidrResponseBody.CidrLists.Builder |
family(String family)
The type of the CIDR block.
|
ListTransitRouterCidrResponseBody.CidrLists.Builder |
name(String name)
The name of the CIDR block.
|
ListTransitRouterCidrResponseBody.CidrLists.Builder |
publishCidrRoute(Boolean publishCidrRoute)
Indicates whether the system is allowed to automatically add a route to the route table of the transit router.
|
ListTransitRouterCidrResponseBody.CidrLists.Builder |
transitRouterCidrId(String transitRouterCidrId)
The ID of the transit router CIDR block.
|
ListTransitRouterCidrResponseBody.CidrLists.Builder |
transitRouterId(String transitRouterId)
The transit router ID.
|
public ListTransitRouterCidrResponseBody.CidrLists.Builder cidr(String cidr)
The CIDR block of the transit router.
example:192.168.10.0/24
public ListTransitRouterCidrResponseBody.CidrLists.Builder description(String description)
The description of the CIDR block.
example:desctest
public ListTransitRouterCidrResponseBody.CidrLists.Builder family(String family)
The type of the CIDR block.
The value is IPv4, which indicates that the CIDR block is of the IPv4 type.
example:IPv4
public ListTransitRouterCidrResponseBody.CidrLists.Builder name(String name)
The name of the CIDR block.
example:nametest
public ListTransitRouterCidrResponseBody.CidrLists.Builder publishCidrRoute(Boolean publishCidrRoute)
Indicates whether the system is allowed to automatically add a route to the route table of the transit router. Valid values:
true
A value of true indicates that after you create a private VPN connection and enable route learning for the connection, the system automatically adds a blackhole route to the route table of the transit router to which the VPN connection is attached.
The destination CIDR block of the blackhole route is the CIDR block of the transit router. The CIDR block of the transit router refers to the CIDR block from which gateway IP addresses are allocated to IPsec-VPN connections.
The blackhole route is advertised only to the route table of the virtual border router (VBR) that is connected to the transit router.
false
true
public ListTransitRouterCidrResponseBody.CidrLists.Builder transitRouterCidrId(String transitRouterCidrId)
The ID of the transit router CIDR block.
example:cidr-0zv0q9crqpntzz****
public ListTransitRouterCidrResponseBody.CidrLists.Builder transitRouterId(String transitRouterId)
The transit router ID.
example:tr-p0w3x8c9em72a40nw****
public ListTransitRouterCidrResponseBody.CidrLists build()
Copyright © 2025. All rights reserved.