Skip to content

AdvancedQueryTemplateProps

Properties for defining a AdvancedQueryTemplate.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-actiontrail-advancedquerytemplate

Initializer

import com.aliyun.ros.cdk.actiontrail.AdvancedQueryTemplateProps;
AdvancedQueryTemplateProps.builder()
    .simpleQuery(java.lang.Boolean)
    .simpleQuery(IResolvable)
    .templateSql(java.lang.String)
    .templateSql(IResolvable)
//  .templateName(java.lang.String)
//  .templateName(IResolvable)
    .build();

Properties

Name Type Description
simpleQuery java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property simpleQuery: Indicates whether the template is a simple query.
templateSql java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property templateSql: The SQL statement of the advanced query template.
templateName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property templateName: The name of the template, which can contain a maximum of 64 characters.

simpleQueryRequired

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

Property simpleQuery: Indicates whether the template is a simple query.


templateSqlRequired

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

Property templateSql: The SQL statement of the advanced query template.


templateNameOptional

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

Property templateName: The name of the template, which can contain a maximum of 64 characters.

Uniqueness is not required.