public static final class AddTraficMatchRuleToTrafficMarkingPolicyRequest.Builder extends Object
public AddTraficMatchRuleToTrafficMarkingPolicyRequest.Builder clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request.
You can use the client to generate the value, but you must make sure that it is unique among different requests. The token can contain only ASCII characters.
example:If you do not set this parameter, ClientToken is set to the value of RequestId. The value of RequestId may be different for each request.
123e4567-e89b-12d3-a456-426****
public AddTraficMatchRuleToTrafficMarkingPolicyRequest.Builder dryRun(Boolean dryRun)
Specifies whether to perform a dry run. Valid values:
DryRunOperation
error code is returned.false
public AddTraficMatchRuleToTrafficMarkingPolicyRequest.Builder ownerAccount(String ownerAccount)
public AddTraficMatchRuleToTrafficMarkingPolicyRequest.Builder ownerId(Long ownerId)
public AddTraficMatchRuleToTrafficMarkingPolicyRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public AddTraficMatchRuleToTrafficMarkingPolicyRequest.Builder resourceOwnerId(Long resourceOwnerId)
public AddTraficMatchRuleToTrafficMarkingPolicyRequest.Builder trafficMarkingPolicyId(String trafficMarkingPolicyId)
The ID of the traffic marking policy.
This parameter is required.
example:tm-u9nxup5kww5po8****
public AddTraficMatchRuleToTrafficMarkingPolicyRequest.Builder trafficMatchRules(List<AddTraficMatchRuleToTrafficMarkingPolicyRequest.TrafficMatchRules> trafficMatchRules)
The information about the traffic classification rule.
You can specify at most 50 traffic classification rules.
public AddTraficMatchRuleToTrafficMarkingPolicyRequest build()
Copyright © 2025. All rights reserved.