public static final class DescribeCenRouteMapsResponseBody.RouteMap.Builder extends Object
public DescribeCenRouteMapsResponseBody.RouteMap.Builder asPathMatchMode(String asPathMatchMode)
The match method that is used to match routes based on the AS path.
Include
public DescribeCenRouteMapsResponseBody.RouteMap.Builder cenId(String cenId)
The CEN instance ID.
example:cen-wx12mmlt17ld82****
public DescribeCenRouteMapsResponseBody.RouteMap.Builder cenRegionId(String cenRegionId)
The region ID of the routing policy.
example:cn-hangzhou
public DescribeCenRouteMapsResponseBody.RouteMap.Builder cidrMatchMode(String cidrMatchMode)
The match method that is used to evaluate routes based on the prefix. Valid values:
For example, if you set the match condition to 10.10.0.0/16 and fuzzy match is applied, the route whose prefix is 10.10.1.0/24 meets the match condition.
For example, if you set the match condition to 10.10.0.0/16 and exact match is enabled, a route is a match only if the prefix is 10.10.0.0/16.
example:Include
public DescribeCenRouteMapsResponseBody.RouteMap.Builder communityMatchMode(String communityMatchMode)
The match method that is used to match routes against the community.
Include
public DescribeCenRouteMapsResponseBody.RouteMap.Builder communityOperateMode(String communityOperateMode)
The action that is performed on the community of the route.
This parameter specifies the action to be performed when a route meets the match condition.
example:Additive
public DescribeCenRouteMapsResponseBody.RouteMap.Builder description(String description)
The description of the routing policy.
example:desctest
public DescribeCenRouteMapsResponseBody.RouteMap.Builder destinationChildInstanceTypes(DescribeCenRouteMapsResponseBody.DestinationChildInstanceTypes destinationChildInstanceTypes)
The types of destination network instances to which the routes belong.
The destination route tables take effect only if the routing policy is applied to the egress gateway direction, and the type of the destination route tables is the same as that of the network instance in the current region.
public DescribeCenRouteMapsResponseBody.RouteMap.Builder destinationCidrBlocks(DescribeCenRouteMapsResponseBody.DestinationCidrBlocks destinationCidrBlocks)
The prefix list against which routes are matched.
IPv4 and IPv6 addresses are supported.
public DescribeCenRouteMapsResponseBody.RouteMap.Builder destinationInstanceIds(DescribeCenRouteMapsResponseBody.DestinationInstanceIds destinationInstanceIds)
The IDs of the destination network instances to which the routes point.
The destination route tables take effect only if the routing policy is applied to the egress gateway direction, and the ID the destination instance is the same as that of the network instance in the current region.
public DescribeCenRouteMapsResponseBody.RouteMap.Builder destinationInstanceIdsReverseMatch(Boolean destinationInstanceIdsReverseMatch)
Indicates whether the destination network instance IDs are excluded.
false
public DescribeCenRouteMapsResponseBody.RouteMap.Builder destinationRegionIds(DescribeCenRouteMapsResponseBody.DestinationRegionIds destinationRegionIds)
The IDs of the destination regions for the routing policy.
public DescribeCenRouteMapsResponseBody.RouteMap.Builder destinationRouteTableIds(DescribeCenRouteMapsResponseBody.DestinationRouteTableIds destinationRouteTableIds)
The IDs of the destination route tables to which the routes belong. You can enter at most 32 route table IDs.
The destination route tables take effect only if the routing policy is applied to the egress gateway direction, and the destination route table IDs are in the current region.
public DescribeCenRouteMapsResponseBody.RouteMap.Builder mapResult(String mapResult)
The action performed on a route that meets the match conditions.
Deny
public DescribeCenRouteMapsResponseBody.RouteMap.Builder matchAddressType(String matchAddressType)
The type of IP address to be matched against the match condition. Valid values:
IPv4
public DescribeCenRouteMapsResponseBody.RouteMap.Builder matchAsns(DescribeCenRouteMapsResponseBody.MatchAsns matchAsns)
The AS paths against which routes are matched.
public DescribeCenRouteMapsResponseBody.RouteMap.Builder matchCommunitySet(DescribeCenRouteMapsResponseBody.MatchCommunitySet matchCommunitySet)
The community set against which routes are matched.
public DescribeCenRouteMapsResponseBody.RouteMap.Builder nextPriority(Integer nextPriority)
The priority of the routing policy that you want to associate with the current one.
example:33
public DescribeCenRouteMapsResponseBody.RouteMap.Builder operateCommunitySet(DescribeCenRouteMapsResponseBody.OperateCommunitySet operateCommunitySet)
The community set on which actions are performed.
public DescribeCenRouteMapsResponseBody.RouteMap.Builder preference(Integer preference)
The new priority of the route.
A smaller value indicates a higher priority.
This parameter indicates the action to be performed when a route meets the match condition.
example:20
public DescribeCenRouteMapsResponseBody.RouteMap.Builder prependAsPath(DescribeCenRouteMapsResponseBody.PrependAsPath prependAsPath)
The AS paths that are prepended by using an action statement when regional gateways receive or advertise routes.
This parameter indicates the action to be performed when a route meets the match condition.
public DescribeCenRouteMapsResponseBody.RouteMap.Builder priority(Integer priority)
The priority of the routing policy. A smaller value indicates a higher priority.
example:5000
public DescribeCenRouteMapsResponseBody.RouteMap.Builder routeMapId(String routeMapId)
The routing policy ID.
example:cenrmap-y40mxdvf7joc12****
public DescribeCenRouteMapsResponseBody.RouteMap.Builder routeTypes(DescribeCenRouteMapsResponseBody.RouteTypes routeTypes)
The type of route that is compared. Valid values:
public DescribeCenRouteMapsResponseBody.RouteMap.Builder sourceChildInstanceTypes(DescribeCenRouteMapsResponseBody.SourceChildInstanceTypes sourceChildInstanceTypes)
The types of source network instances to which the routes belong.
public DescribeCenRouteMapsResponseBody.RouteMap.Builder sourceInstanceIds(DescribeCenRouteMapsResponseBody.SourceInstanceIds sourceInstanceIds)
The IDs of the source network instances to which the routes belong.
public DescribeCenRouteMapsResponseBody.RouteMap.Builder sourceInstanceIdsReverseMatch(Boolean sourceInstanceIdsReverseMatch)
Indicates whether the source network instance IDs are excluded.
false
public DescribeCenRouteMapsResponseBody.RouteMap.Builder sourceRegionIds(DescribeCenRouteMapsResponseBody.SourceRegionIds sourceRegionIds)
The IDs of the source regions to which the routes belong.
public DescribeCenRouteMapsResponseBody.RouteMap.Builder sourceRouteTableIds(DescribeCenRouteMapsResponseBody.SourceRouteTableIds sourceRouteTableIds)
The IDs of the source route tables to which the routes belong.
public DescribeCenRouteMapsResponseBody.RouteMap.Builder status(String status)
The status of the routing policy. Valid values:
Active
public DescribeCenRouteMapsResponseBody.RouteMap.Builder transitRouterRouteTableId(String transitRouterRouteTableId)
The route table ID of the transit router with which the routing policy is associated.
example:vtb-gw8nx3515m1mbd1z1****
public DescribeCenRouteMapsResponseBody.RouteMap.Builder transmitDirection(String transmitDirection)
The direction in which the routing policy is applied.
example:RegionOut
public DescribeCenRouteMapsResponseBody.RouteMap build()
Copyright © 2025. All rights reserved.