public static final class CreateCenInterRegionTrafficQosPolicyRequest.Builder extends Object
public CreateCenInterRegionTrafficQosPolicyRequest.Builder bandwidthGuaranteeMode(String bandwidthGuaranteeMode)
The allocation mode of the guaranteed bandwidth. You can specify an absolute bandwidth value or a bandwidth percentage. Valid values:
byBandwidthPercent
public CreateCenInterRegionTrafficQosPolicyRequest.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 and cannot exceed 64 characters in length.
example:123e4567-e89b-12d3-a456-426655****
public CreateCenInterRegionTrafficQosPolicyRequest.Builder dryRun(Boolean dryRun)
Specifies whether only to precheck the API request. Valid values:
DryRunOperation
error code is returned.false
public CreateCenInterRegionTrafficQosPolicyRequest.Builder ownerAccount(String ownerAccount)
public CreateCenInterRegionTrafficQosPolicyRequest.Builder ownerId(Long ownerId)
public CreateCenInterRegionTrafficQosPolicyRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public CreateCenInterRegionTrafficQosPolicyRequest.Builder resourceOwnerId(Long resourceOwnerId)
public CreateCenInterRegionTrafficQosPolicyRequest.Builder trafficQosPolicyDescription(String trafficQosPolicyDescription)
The description of the QoS policy.
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:desctest
public CreateCenInterRegionTrafficQosPolicyRequest.Builder trafficQosPolicyName(String trafficQosPolicyName)
The name of the QoS policy.
The name can be empty or 1 to 128 characters in length, and cannot start with http:// or https://.
example:nametest
public CreateCenInterRegionTrafficQosPolicyRequest.Builder trafficQosQueues(List<CreateCenInterRegionTrafficQosPolicyRequest.TrafficQosQueues> trafficQosQueues)
The information about the QoS queue.
You can add at most three QoS queues in a QoS policy by calling this operation. To add more QoS queues, call the CreateCenInterRegionTrafficQosQueue operation.
public CreateCenInterRegionTrafficQosPolicyRequest.Builder transitRouterAttachmentId(String transitRouterAttachmentId)
The ID of the inter-region connection.
This parameter is required.
example:tr-attach-r6g0m3epjehw57****
public CreateCenInterRegionTrafficQosPolicyRequest.Builder transitRouterId(String transitRouterId)
The ID of the transit router.
This parameter is required.
example:tr-8vbuqeo5h5pu3m01d****
public CreateCenInterRegionTrafficQosPolicyRequest build()
Copyright © 2025. All rights reserved.