public static final class ModifyTrafficMatchRuleToTrafficMarkingPolicyRequest.Builder extends Object
public ModifyTrafficMatchRuleToTrafficMarkingPolicyRequest.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 token, but you must make sure that the token is unique among different requests. The client token can contain only ASCII characters.
example:If you do not specify this parameter, the system automatically uses the request ID as the client token. The request ID may be different for each request.
123e4567-e89b-12d3-a456-42665544****
public ModifyTrafficMatchRuleToTrafficMarkingPolicyRequest.Builder dryRun(Boolean dryRun)
Specifies whether to perform only a dry run without performing the actual request. Valid values:
DryRunOperation
error code is returned.false
public ModifyTrafficMatchRuleToTrafficMarkingPolicyRequest.Builder ownerAccount(String ownerAccount)
public ModifyTrafficMatchRuleToTrafficMarkingPolicyRequest.Builder ownerId(Long ownerId)
public ModifyTrafficMatchRuleToTrafficMarkingPolicyRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public ModifyTrafficMatchRuleToTrafficMarkingPolicyRequest.Builder resourceOwnerId(Long resourceOwnerId)
public ModifyTrafficMatchRuleToTrafficMarkingPolicyRequest.Builder trafficMarkingPolicyId(String trafficMarkingPolicyId)
The ID of the traffic marking policy.
This parameter is required.
example:tm-u9nxup5kww5po8****
public ModifyTrafficMatchRuleToTrafficMarkingPolicyRequest.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:descriptiontest
public ModifyTrafficMatchRuleToTrafficMarkingPolicyRequest.Builder trafficMatchRuleId(String trafficMatchRuleId)
The ID of the traffic classification rule.
This parameter is required.
example:tm-rule-fa9kgq1e90rmhc****
public ModifyTrafficMatchRuleToTrafficMarkingPolicyRequest.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:nametest
public ModifyTrafficMatchRuleToTrafficMarkingPolicyRequest build()
Copyright © 2025. All rights reserved.