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 value. |
maxBandwidthPercent | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property maxBandwidthPercent: The maximum bandwidth percentage. |
minBandwidthAbs | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property minBandwidthAbs: The minimum bandwidth value. |
minBandwidthPercent | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property minBandwidthPercent: The minimum bandwidth percentage. |
name | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property name: The name of the traffic throttling rule. |
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 value.
The value must be an integer. Unit: Mbit/s. This parameter is returned when LimitType is set to Absolute.
The maximum bandwidth value must be greater than the minimum bandwidth value.
maxBandwidthPercentOptional
public java.lang.Object getMaxBandwidthPercent();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property maxBandwidthPercent: The maximum bandwidth percentage.
Unit: percent (%). Valid values: 1 to 100. This parameter is required when you set LimitType to Percent.
The maximum bandwidth percentage must be greater than the minimum bandwidth percentage.
minBandwidthAbsOptional
public java.lang.Object getMinBandwidthAbs();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property minBandwidthAbs: The minimum bandwidth value.
The value must be an integer. Unit: Mbit/s. This parameter is returned 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 bandwidth percentage.
Unit: percent (%). Valid values: 1 to 100. This parameter is required when you set LimitType 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 rule.
The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
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.