Skip to content

CustomScenePolicyProps

Properties for defining a CustomScenePolicy.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-esa-customscenepolicy

Initializer

import com.aliyun.ros.cdk.esa.CustomScenePolicyProps;
CustomScenePolicyProps.builder()
    .createTime(java.lang.String)
    .createTime(IResolvable)
    .customScenePolicyName(java.lang.String)
    .customScenePolicyName(IResolvable)
    .endTime(java.lang.String)
    .endTime(IResolvable)
    .objects(java.lang.String)
    .objects(IResolvable)
    .template(java.lang.String)
    .template(IResolvable)
    .build();

Properties

Name Type Description
createTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property createTime: The time when the policy takes effect.
customScenePolicyName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property customScenePolicyName: The policy name.
endTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property endTime: The time when the policy expires.
objects java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property objects: The IDs of the websites that you want to associate with the policy.
template java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property template: The name of the policy template.

createTimeRequired

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

Property createTime: The time when the policy takes effect.

The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.


customScenePolicyNameRequired

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

Property customScenePolicyName: The policy name.


endTimeRequired

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

Property endTime: The time when the policy expires.

The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.


objectsRequired

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

Property objects: The IDs of the websites that you want to associate with the policy.

Separate multiple IDs with commas (,).


templateRequired

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

Property template: The name of the policy template.

Valid value: promotion: major events.