Skip to content

QosCarProps

Properties for defining a QosCar.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sag-qoscar

Initializer

import com.aliyun.ros.cdk.sag.QosCarProps;
QosCarProps.builder()
    .limitType(java.lang.String)
    .limitType(IResolvable)
    .priority(java.lang.Number)
    .priority(IResolvable)
    .qosId(java.lang.String)
    .qosId(IResolvable)
//  .description(java.lang.String)
//  .description(IResolvable)
//  .maxBandwidthAbs(java.lang.Number)
//  .maxBandwidthAbs(IResolvable)
//  .maxBandwidthPercent(java.lang.Number)
//  .maxBandwidthPercent(IResolvable)
//  .minBandwidthAbs(java.lang.Number)
//  .minBandwidthAbs(IResolvable)
//  .minBandwidthPercent(java.lang.Number)
//  .minBandwidthPercent(IResolvable)
//  .name(java.lang.String)
//  .name(IResolvable)
//  .percentSourceType(java.lang.String)
//  .percentSourceType(IResolvable)
    .build();

Properties

Name Type Description
limitType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property limitType: The type of the traffic throttling policy.
priority java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property priority: The priority of the traffic throttling policy.
qosId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property qosId: The ID of the QoS policy.
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property description: The description of the traffic throttling policy.
maxBandwidthAbs java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property maxBandwidthAbs: The maximum bandwidth.
maxBandwidthPercent java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property maxBandwidthPercent: The maximum percentage that is based on the maximum upstream bandwidth of the SAG instance.
minBandwidthAbs java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property minBandwidthAbs: The minimum bandwidth.
minBandwidthPercent java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property minBandwidthPercent: The minimum percentage that is based on the maximum upstream bandwidth of the SAG instance.
name java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property name: The name of the traffic throttling policy.
percentSourceType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property percentSourceType: If the policy throttles traffic based on a specified bandwidth percentage, the following options are available: CcnBandwidth: Cloud Enterprise Network (CCN) bandwidth.

limitTypeRequired

public java.lang.Object getLimitType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property limitType: The type of the traffic throttling policy.

Valid values: Absolute: throttles traffic by a specific bandwidth range. Percent: throttles traffic by a specific range of bandwidth percentage.


priorityRequired

public java.lang.Object getPriority();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property priority: The priority of the traffic throttling policy.

A smaller value represents a higher priority. If policies are assigned the same priority, the one applied the earliest prevails. Valid values: 1 to 7.


qosIdRequired

public java.lang.Object getQosId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property qosId: The ID of the QoS policy.


descriptionOptional

public java.lang.Object getDescription();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property description: The description of the traffic throttling policy.


maxBandwidthAbsOptional

public java.lang.Object getMaxBandwidthAbs();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property maxBandwidthAbs: The maximum bandwidth.

This parameter is required when LimitType is set to Absolute.


maxBandwidthPercentOptional

public java.lang.Object getMaxBandwidthPercent();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property maxBandwidthPercent: The maximum percentage that is based on the maximum upstream bandwidth of the SAG instance.

This parameter is required when LimitType is set to Percent.


minBandwidthAbsOptional

public java.lang.Object getMinBandwidthAbs();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property minBandwidthAbs: The minimum bandwidth.

This parameter is required when LimitType is set to Absolute.


minBandwidthPercentOptional

public java.lang.Object getMinBandwidthPercent();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property minBandwidthPercent: The minimum percentage that is based on the maximum upstream bandwidth of the SAG instance.

This parameter is required when LimitType is set to Percent.


nameOptional

public java.lang.Object getName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property name: The name of the traffic throttling policy.

The name must be 2 to 128 characters in length, and can contain Chinese characters, letters, digits, periods (.), underscores (_), and hyphens (-).


percentSourceTypeOptional

public java.lang.Object getPercentSourceType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property percentSourceType: If the policy throttles traffic based on a specified bandwidth percentage, the following options are available: CcnBandwidth: Cloud Enterprise Network (CCN) bandwidth.

InternetUpBandwidth: Internet upstream bandwidth.