Skip to content

SceneDefensePolicyProps

Properties for defining a SceneDefensePolicy.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ddospro-scenedefensepolicy

Initializer

import com.aliyun.ros.cdk.ddospro.SceneDefensePolicyProps;
SceneDefensePolicyProps.builder()
    .endTime(java.lang.Number)
    .endTime(IResolvable)
    .name(java.lang.String)
    .name(IResolvable)
    .startTime(java.lang.Number)
    .startTime(IResolvable)
    .template(java.lang.String)
    .template(IResolvable)
    .build();

Properties

Name Type Description
endTime java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property endTime: The end time of the policy.
name java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property name: The name of the policy.
startTime java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property startTime: The start time of the policy.
template java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property template: The template of the policy.

endTimeRequired

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

Property endTime: The end time of the policy.

This value is a UNIX timestamp. Units: milliseconds.


nameRequired

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

Property name: The name of the policy.


startTimeRequired

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

Property startTime: The start time of the policy.

This value is a UNIX timestamp. Units: milliseconds.


templateRequired

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

Property template: The template of the policy.

Valid values: promotion: important activity bypass: all traffic forwarded