public static final class ListTrafficMarkingPoliciesResponseBody.TrafficMatchRules.Builder extends Object
public ListTrafficMarkingPoliciesResponseBody.TrafficMatchRules.Builder addressFamily(String addressFamily)
The address family. You can set the value to IPv4 or IPv6, or leave the value empty.
example:IPv4
public ListTrafficMarkingPoliciesResponseBody.TrafficMatchRules.Builder dstCidr(String dstCidr)
The destination CIDR block of packets. IPv4 and IPv6 addresses are supported.
example:192.168.120.0/24
public ListTrafficMarkingPoliciesResponseBody.TrafficMatchRules.Builder dstPortRange(List<Integer> dstPortRange)
The destination port range used to match data packets.
public ListTrafficMarkingPoliciesResponseBody.TrafficMatchRules.Builder matchDscp(Integer matchDscp)
The DSCP value used to match data packets.
example:If the value of the MatchDscp parameter is -1, data packets are considered a match regardless of the DSCP value.
6
public ListTrafficMarkingPoliciesResponseBody.TrafficMatchRules.Builder protocol(String protocol)
The protocol that is used to match packets.
example:Traffic marking policies support multiple protocols. For more information, see the documentation of CEN.
HTTP
public ListTrafficMarkingPoliciesResponseBody.TrafficMatchRules.Builder srcCidr(String srcCidr)
The source CIDR block of packets. IPv6 and IPv4 addresses are supported.
example:192.168.10.0/24
public ListTrafficMarkingPoliciesResponseBody.TrafficMatchRules.Builder srcPortRange(List<Integer> srcPortRange)
The source port range used to match data packets.
public ListTrafficMarkingPoliciesResponseBody.TrafficMatchRules.Builder trafficMatchRuleDescription(String trafficMatchRuleDescription)
The description of the traffic classification rule.
example:desctest
public ListTrafficMarkingPoliciesResponseBody.TrafficMatchRules.Builder trafficMatchRuleId(String trafficMatchRuleId)
The ID of the traffic classification rule.
example:tm-rule-fa9kgq1e90rmhc****
public ListTrafficMarkingPoliciesResponseBody.TrafficMatchRules.Builder trafficMatchRuleName(String trafficMatchRuleName)
The name of the traffic classification rule.
example:nametest
public ListTrafficMarkingPoliciesResponseBody.TrafficMatchRules.Builder trafficMatchRuleStatus(String trafficMatchRuleStatus)
The status of the traffic classification rule. Valid values:
Creating
public ListTrafficMarkingPoliciesResponseBody.TrafficMatchRules build()
Copyright © 2025. All rights reserved.