public static final class UpdateTrafficMarkingPolicyAttributeRequest.DeleteTrafficMatchRules.Builder extends Object
public UpdateTrafficMarkingPolicyAttributeRequest.DeleteTrafficMatchRules.Builder addressFamily(String addressFamily)
The address family. Valid values: You can set the value to IPv4 or IPv6, or leave the value empty.
example:IPv6
public UpdateTrafficMarkingPolicyAttributeRequest.DeleteTrafficMatchRules.Builder dstCidr(String dstCidr)
The destination CIDR block of packets. IPv4 and IPv6 addresses are supported.
example:192.168.200.3/32
public UpdateTrafficMarkingPolicyAttributeRequest.DeleteTrafficMatchRules.Builder dstPortRange(List<Integer> dstPortRange)
The destination port range that is used to match packets.
public UpdateTrafficMarkingPolicyAttributeRequest.DeleteTrafficMatchRules.Builder matchDscp(Integer matchDscp)
The DSCP value that is used to match packets.
example:3
public UpdateTrafficMarkingPolicyAttributeRequest.DeleteTrafficMatchRules.Builder protocol(String protocol)
The protocol that is used to match packets.
You can call the ListTrafficMarkingPolicies operation to query the details about a traffic classification rule.
example:TCP
public UpdateTrafficMarkingPolicyAttributeRequest.DeleteTrafficMatchRules.Builder srcCidr(String srcCidr)
The source CIDR block of packets. IPv4 and IPv6 addresses are supported.
example:10.72.0.0/16
public UpdateTrafficMarkingPolicyAttributeRequest.DeleteTrafficMatchRules.Builder srcPortRange(List<Integer> srcPortRange)
The source port range that is used to match packets.
public UpdateTrafficMarkingPolicyAttributeRequest.DeleteTrafficMatchRules.Builder trafficMatchRuleDescription(String trafficMatchRuleDescription)
The description of the traffic classification rule.
This parameter is optional. If you enter a description, it must be 1 to 256 characters in length and cannot start with http:// or https://.
example:Hangzhou-to-Qingdao CAT
public UpdateTrafficMarkingPolicyAttributeRequest.DeleteTrafficMatchRules.Builder trafficMatchRuleName(String trafficMatchRuleName)
The name of the traffic classification rule.
The name can be empty or 1 to 128 characters in length, and cannot start with http:// or https://.
example:test
public UpdateTrafficMarkingPolicyAttributeRequest.DeleteTrafficMatchRules build()
Copyright © 2025. All rights reserved.