public static final class ListTransitRoutersResponseBody.TransitRouterCidrList.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
ListTransitRoutersResponseBody.TransitRouterCidrList |
build() |
ListTransitRoutersResponseBody.TransitRouterCidrList.Builder |
cidr(String cidr)
The CIDR block of the transit router.
|
ListTransitRoutersResponseBody.TransitRouterCidrList.Builder |
description(String description)
The description of the CIDR block.
|
ListTransitRoutersResponseBody.TransitRouterCidrList.Builder |
name(String name)
The name of the CIDR block.
|
ListTransitRoutersResponseBody.TransitRouterCidrList.Builder |
publishCidrRoute(Boolean publishCidrRoute)
Indicates whether the system is allowed to automatically add a route to the route table of the transit router.
|
ListTransitRoutersResponseBody.TransitRouterCidrList.Builder |
transitRouterCidrId(String transitRouterCidrId)
The ID of the CIDR block.
|
public ListTransitRoutersResponseBody.TransitRouterCidrList.Builder cidr(String cidr)
The CIDR block of the transit router.
example:192.168.1.0/24
public ListTransitRoutersResponseBody.TransitRouterCidrList.Builder description(String description)
The description of the CIDR block.
example:CIDRdesc
public ListTransitRoutersResponseBody.TransitRouterCidrList.Builder name(String name)
The name of the CIDR block.
example:CIDRname
public ListTransitRoutersResponseBody.TransitRouterCidrList.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: yes
A value of true indicates that after you create a private VPN connection and create a route learning correlation for the private VPC connection, the system automatically adds the following route to the route table of the transit router that is in route learning correlation with the private VPN connection: A blackhole route whose destination CIDR block 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 tables of virtual border routers (VBRs) that are connected to the transit router.
false: no
true
public ListTransitRoutersResponseBody.TransitRouterCidrList.Builder transitRouterCidrId(String transitRouterCidrId)
The ID of the CIDR block.
example:cidr-46p5ceg21e8152****
public ListTransitRoutersResponseBody.TransitRouterCidrList build()
Copyright © 2025. All rights reserved.