Skip to content

WaitingRoomEvent

This class encapsulates and extends the ROS resource type ALIYUN::ESA::WaitingRoomEvent.

Initializers

import com.aliyun.ros.cdk.esa.WaitingRoomEvent;
WaitingRoomEvent.Builder.create(Construct scope, java.lang.String id, java.lang.Boolean enableResourcePropertyConstraint)
    .endTime(java.lang.String)
    .endTime(IResolvable)
    .newUsersPerMinute(java.lang.Number)
    .newUsersPerMinute(IResolvable)
    .queuingMethod(java.lang.String)
    .queuingMethod(IResolvable)
    .queuingStatusCode(java.lang.String)
    .queuingStatusCode(IResolvable)
    .sessionDuration(java.lang.Number)
    .sessionDuration(IResolvable)
    .siteId(java.lang.Number)
    .siteId(IResolvable)
    .startTime(java.lang.String)
    .startTime(IResolvable)
    .totalActiveUsers(java.lang.Number)
    .totalActiveUsers(IResolvable)
    .waitingRoomEventName(java.lang.String)
    .waitingRoomEventName(IResolvable)
    .waitingRoomType(java.lang.String)
    .waitingRoomType(IResolvable)
//  .customPageHtml(java.lang.String)
//  .customPageHtml(IResolvable)
//  .description(java.lang.String)
//  .description(IResolvable)
//  .disableSessionRenewalEnable(java.lang.String)
//  .disableSessionRenewalEnable(IResolvable)
//  .jsonResponseEnable(java.lang.String)
//  .jsonResponseEnable(IResolvable)
//  .language(java.lang.String)
//  .language(IResolvable)
//  .preQueueEnable(java.lang.String)
//  .preQueueEnable(IResolvable)
//  .preQueueStartTime(java.lang.String)
//  .preQueueStartTime(IResolvable)
//  .randomPreQueueEnable(java.lang.String)
//  .randomPreQueueEnable(IResolvable)
//  .waitingRoomId(java.lang.String)
//  .waitingRoomId(IResolvable)
    .build();
Name Type Description
scope com.aliyun.ros.cdk.core.Construct No description.
id java.lang.String No description.
enableResourcePropertyConstraint java.lang.Boolean No description.
endTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property endTime: The timestamp of the end time of the event.
newUsersPerMinute java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property newUsersPerMinute: Number of new users per minute.
queuingMethod java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property queuingMethod: Way of queuing.
queuingStatusCode java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property queuingStatusCode: Waiting room status code.
sessionDuration java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property sessionDuration: User session duration in minutes.
siteId java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property siteId: The site ID, which can be obtained by calling the ListSites API.
startTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property startTime: The timestamp of the event start time.
totalActiveUsers java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property totalActiveUsers: Total number of active users.
waitingRoomEventName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property waitingRoomEventName: Event name, custom event description.
waitingRoomType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property waitingRoomType: Waiting room type.
customPageHtml java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property customPageHtml: User-defined waiting room page content, when the waiting room type is custom type, you need to enter.
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property description: Waiting room description.
disableSessionRenewalEnable java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property disableSessionRenewalEnable: Disable session renewal.
jsonResponseEnable java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property jsonResponseEnable: JSON response switch.
language java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property language: Default language setting.
preQueueEnable java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property preQueueEnable: Pre-queue switch.
preQueueStartTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property preQueueStartTime: Pre-queue start time.
randomPreQueueEnable java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property randomPreQueueEnable: Random queue switch.
waitingRoomId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property waitingRoomId: Waiting room ID, used to identify a specific waiting room.

scopeRequired

  • Type: com.aliyun.ros.cdk.core.Construct

idRequired

  • Type: java.lang.String

enableResourcePropertyConstraintOptional

  • Type: java.lang.Boolean

endTimeRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property endTime: The timestamp of the end time of the event.


newUsersPerMinuteRequired

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property newUsersPerMinute: Number of new users per minute.


queuingMethodRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property queuingMethod: Way of queuing.

Value:

  • random: random.
  • fifo: first in, first out.
  • passthrough: through.
  • reject-all: reject all.

queuingStatusCodeRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property queuingStatusCode: Waiting room status code.

Value:

  • 200
  • 202
  • 429.

sessionDurationRequired

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property sessionDuration: User session duration in minutes.


siteIdRequired

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property siteId: The site ID, which can be obtained by calling the ListSites API.


startTimeRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property startTime: The timestamp of the event start time.


totalActiveUsersRequired

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property totalActiveUsers: Total number of active users.


waitingRoomEventNameRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property waitingRoomEventName: Event name, custom event description.


waitingRoomTypeRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property waitingRoomType: Waiting room type.

The following types are supported:

  • default: the default type.
  • custom: custom type.

customPageHtmlOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property customPageHtml: User-defined waiting room page content, when the waiting room type is custom type, you need to enter.

The incoming content needs to be base64 encoded.


descriptionOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property description: Waiting room description.


disableSessionRenewalEnableOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property disableSessionRenewalEnable: Disable session renewal.

Value:

  • on: open.
  • off: closed.

jsonResponseEnableOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property jsonResponseEnable: JSON response switch.

Value:

  • on: open.
  • off: closed.

languageOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property language: Default language setting.

Values include:

  • enus: English.
  • zhcn: Simplified Chinese.
  • zhhk: Traditional Chinese.

preQueueEnableOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property preQueueEnable: Pre-queue switch.

  • on: open.
  • off: closed.

preQueueStartTimeOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property preQueueStartTime: Pre-queue start time.


randomPreQueueEnableOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property randomPreQueueEnable: Random queue switch.

  • on: open.
  • off: closed.

waitingRoomIdOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property waitingRoomId: Waiting room ID, used to identify a specific waiting room.

It can be obtained by calling the listwaitingroom interface.


Methods

Name Description
toString Returns a string representation of this construct.
synthesize Allows this construct to emit artifacts into the cloud assembly during synthesis.
addCondition No description.
addCount No description.
addDependency No description.
addResourceDesc No description.
applyRemovalPolicy No description.
fetchCondition No description.
fetchDependency No description.
fetchResourceDesc No description.
getAtt No description.
setMetadata No description.

toString

public java.lang.String toString()

Returns a string representation of this construct.

synthesize

public void synthesize(ISynthesisSession session)

Allows this construct to emit artifacts into the cloud assembly during synthesis.

This method is usually implemented by framework-level constructs such as Stack and Asset as they participate in synthesizing the cloud assembly.

sessionRequired

  • Type: com.aliyun.ros.cdk.core.ISynthesisSession

The synthesis session.


addCondition

public void addCondition(RosCondition condition)

conditionRequired

  • Type: com.aliyun.ros.cdk.core.RosCondition

addCount

public void addCount(java.lang.Number OR IResolvable count)

countRequired

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

addDependency

public void addDependency(Resource resource)

resourceRequired

  • Type: com.aliyun.ros.cdk.core.Resource

addResourceDesc

public void addResourceDesc(java.lang.String desc)

descRequired

  • Type: java.lang.String

applyRemovalPolicy

public void applyRemovalPolicy(RemovalPolicy policy)

policyRequired

  • Type: com.aliyun.ros.cdk.core.RemovalPolicy

fetchCondition

public RosCondition fetchCondition()

fetchDependency

public java.util.List<java.lang.String> fetchDependency()

fetchResourceDesc

public java.lang.String fetchResourceDesc()

getAtt

public IResolvable getAtt(java.lang.String name)

nameRequired

  • Type: java.lang.String

setMetadata

public void setMetadata(java.lang.String key, java.lang.Object value)

keyRequired

  • Type: java.lang.String

valueRequired

  • Type: java.lang.Object

Static Functions

Name Description
isConstruct Return whether the given object is a Construct.

isConstruct

import com.aliyun.ros.cdk.esa.WaitingRoomEvent;
WaitingRoomEvent.isConstruct(java.lang.Object x)

Return whether the given object is a Construct.

xRequired

  • Type: java.lang.Object

Properties

Name Type Description
node com.aliyun.ros.cdk.core.ConstructNode The construct tree node associated with this construct.
env com.aliyun.ros.cdk.core.IResourceEnvironment The environment this resource belongs to.
ref java.lang.String No description.
stack com.aliyun.ros.cdk.core.Stack The stack in which this resource is defined.
resource com.aliyun.ros.cdk.core.RosResource No description.
attrCustomPageHtml java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute CustomPageHtml: User-defined waiting room page content, when the waiting room type is custom type, you need to enter.
attrDescription java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Description: Waiting room description.
attrDisableSessionRenewalEnable java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute DisableSessionRenewalEnable: Disable session renewal.
attrEndTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute EndTime: The timestamp of the end time of the event.
attrJsonResponseEnable java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute JsonResponseEnable: JSON response switch.
attrLanguage java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Language: Default language setting.
attrNewUsersPerMinute java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute NewUsersPerMinute: Number of new users per minute.
attrPreQueueEnable java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute PreQueueEnable: Pre-queue switch.
attrPreQueueStartTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute PreQueueStartTime: Pre-queue start time.
attrQueuingMethod java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute QueuingMethod: Way of queuing.
attrQueuingStatusCode java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute QueuingStatusCode: Waiting room status code.
attrRandomPreQueueEnable java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute RandomPreQueueEnable: Random queue switch.
attrSessionDuration java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute SessionDuration: User session duration in minutes.
attrStartTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute StartTime: The timestamp of the event start time.
attrTotalActiveUsers java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute TotalActiveUsers: Total number of active users.
attrWaitingRoomEventId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute WaitingRoomEventId: The waiting room event ID, which can be obtained by calling the ListWaitingRoomEvents operation.
attrWaitingRoomEventName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute WaitingRoomEventName: Event name, custom event description.
attrWaitingRoomId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute WaitingRoomId: Waiting room ID, used to identify a specific waiting room.
attrWaitingRoomType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute WaitingRoomType: Waiting room type.
props WaitingRoomEventProps No description.

nodeRequired

public ConstructNode getNode();
  • Type: com.aliyun.ros.cdk.core.ConstructNode

The construct tree node associated with this construct.


envRequired

public IResourceEnvironment getEnv();
  • Type: com.aliyun.ros.cdk.core.IResourceEnvironment

The environment this resource belongs to.

For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.


refRequired

public java.lang.String getRef();
  • Type: java.lang.String

stackRequired

public Stack getStack();
  • Type: com.aliyun.ros.cdk.core.Stack

The stack in which this resource is defined.


resourceOptional

public RosResource getResource();
  • Type: com.aliyun.ros.cdk.core.RosResource

attrCustomPageHtmlRequired

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

Attribute CustomPageHtml: User-defined waiting room page content, when the waiting room type is custom type, you need to enter.

The incoming content needs to be base64 encoded.


attrDescriptionRequired

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

Attribute Description: Waiting room description.


attrDisableSessionRenewalEnableRequired

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

Attribute DisableSessionRenewalEnable: Disable session renewal.


attrEndTimeRequired

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

Attribute EndTime: The timestamp of the end time of the event.


attrJsonResponseEnableRequired

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

Attribute JsonResponseEnable: JSON response switch.


attrLanguageRequired

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

Attribute Language: Default language setting.


attrNewUsersPerMinuteRequired

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

Attribute NewUsersPerMinute: Number of new users per minute.


attrPreQueueEnableRequired

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

Attribute PreQueueEnable: Pre-queue switch.


attrPreQueueStartTimeRequired

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

Attribute PreQueueStartTime: Pre-queue start time.


attrQueuingMethodRequired

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

Attribute QueuingMethod: Way of queuing.


attrQueuingStatusCodeRequired

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

Attribute QueuingStatusCode: Waiting room status code.


attrRandomPreQueueEnableRequired

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

Attribute RandomPreQueueEnable: Random queue switch.


attrSessionDurationRequired

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

Attribute SessionDuration: User session duration in minutes.


attrStartTimeRequired

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

Attribute StartTime: The timestamp of the event start time.


attrTotalActiveUsersRequired

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

Attribute TotalActiveUsers: Total number of active users.


attrWaitingRoomEventIdRequired

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

Attribute WaitingRoomEventId: The waiting room event ID, which can be obtained by calling the ListWaitingRoomEvents operation.


attrWaitingRoomEventNameRequired

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

Attribute WaitingRoomEventName: Event name, custom event description.


attrWaitingRoomIdRequired

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

Attribute WaitingRoomId: Waiting room ID, used to identify a specific waiting room.

It can be obtained by calling the listwaitingroom interface.


attrWaitingRoomTypeRequired

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

Attribute WaitingRoomType: Waiting room type.


propsRequired

public WaitingRoomEventProps getProps();