QosPolicyProps
Properties for defining a QosPolicy.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sag-qospolicy
Initializer
import com.aliyun.ros.cdk.sag.QosPolicyProps;
QosPolicyProps.builder()
.destCidr(java.lang.String)
.destCidr(IResolvable)
.destPortRange(java.lang.String)
.destPortRange(IResolvable)
.ipProtocol(java.lang.String)
.ipProtocol(IResolvable)
.priority(java.lang.Number)
.priority(IResolvable)
.qosId(java.lang.String)
.qosId(IResolvable)
.sourceCidr(java.lang.String)
.sourceCidr(IResolvable)
.sourcePortRange(java.lang.String)
.sourcePortRange(IResolvable)
// .description(java.lang.String)
// .description(IResolvable)
// .dpiGroupIds(IResolvable)
// .dpiGroupIds(java.util.List<java.lang.String)
// .dpiGroupIds(IResolvable>)
// .dpiSignatureIds(IResolvable)
// .dpiSignatureIds(java.util.List<java.lang.String)
// .dpiSignatureIds(IResolvable>)
// .endTime(java.lang.String)
// .endTime(IResolvable)
// .name(java.lang.String)
// .name(IResolvable)
// .startTime(java.lang.String)
// .startTime(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
destCidr |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property destCidr: The range of the destination IP addresses. |
destPortRange |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property destPortRange: The range of destination ports. |
ipProtocol |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property ipProtocol: The type of the protocol that applies to the traffic classification rule. |
priority |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property priority: The priority of the traffic throttling policy to which the traffic classification rule belongs. |
qosId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property qosId: The ID of the QoS policy. |
sourceCidr |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property sourceCidr: The range of the source IP addresses. |
sourcePortRange |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property sourcePortRange: The range of source ports. |
description |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property description: The description of the traffic classification rule. |
dpiGroupIds |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property dpiGroupIds: The ID of the application group. |
dpiSignatureIds |
com.aliyun.ros.cdk.core.IResolvable OR java.util.List |
Property dpiSignatureIds: The ID of the application. |
endTime |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property endTime: The time when the traffic classification rule becomes invalid. |
name |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property name: The name of the traffic classification rule. |
startTime |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property startTime: The time when the traffic classification rule takes effect. |
destCidrRequired
public java.lang.Object getDestCidr();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property destCidr: The range of the destination IP addresses.
Specify the value of this parameter in CIDR notation. Example: 192.168.10.0/24.
destPortRangeRequired
public java.lang.Object getDestPortRange();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property destPortRange: The range of destination ports.
Valid values: 1 to 65535 and -1. Set this parameter in one of the following formats: 1/200: a port range from 1 to 200 80/80: port 80 -1/-1: all ports
ipProtocolRequired
public java.lang.Object getIpProtocol();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property ipProtocol: The type of the protocol that applies to the traffic classification rule.
The supported protocols provided in this topic are for reference only. The actual protocols in the console shall prevail.
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 to which the traffic classification rule belongs.
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.
sourceCidrRequired
public java.lang.Object getSourceCidr();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property sourceCidr: The range of the source IP addresses.
Specify the value of this parameter in CIDR notation. Example: 192.168.1.0/24.
sourcePortRangeRequired
public java.lang.Object getSourcePortRange();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property sourcePortRange: The range of source ports.
Valid values: 1 to 65535 and -1. Set this parameter in one of the following formats: 1/200: a port range from 1 to 200 80/80: port 80 -1/-1: all ports
descriptionOptional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: The description of the traffic classification rule.
The description must be 1 to 512 characters in length and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter.
dpiGroupIdsOptional
public java.lang.Object getDpiGroupIds();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property dpiGroupIds: The ID of the application group.
You can enter at most 100 application group IDs at a time. You can call the ListDpiGroups operation to query application group IDs and information about the applications.
dpiSignatureIdsOptional
public java.lang.Object getDpiSignatureIds();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property dpiSignatureIds: The ID of the application.
You can enter at most 100 application IDs at a time. You can call the ListDpiSignatures operation to query application IDs and information about the applications.
endTimeOptional
public java.lang.Object getEndTime();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property endTime: The time when the traffic classification rule becomes invalid.
Specify the time in the ISO 8601 standard in the YYYY-MM-DDThh:mm:ss+0800 format. The time must be in UTC+8.
nameOptional
public java.lang.Object getName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property name: The name of the traffic classification rule.
The name must be 2 to 100 characters in length, and can contain digits, underscores (_), and hyphens (-). It must start with a letter.
startTimeOptional
public java.lang.Object getStartTime();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property startTime: The time when the traffic classification rule takes effect.
Specify the time in the ISO 8601 standard in the YYYY-MM-DDThh:mm:ss+0800 format. The time must be in UTC+8.