Skip to content

ReportTemplateProps

Properties for defining a ReportTemplate.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-config-reporttemplate

Initializer

import com.aliyun.ros.cdk.config.ReportTemplateProps;
ReportTemplateProps.builder()
    .reportTemplateName(java.lang.String)
    .reportTemplateName(IResolvable)
//  .reportFileFormats(java.lang.String)
//  .reportFileFormats(IResolvable)
//  .reportGranularity(java.lang.String)
//  .reportGranularity(IResolvable)
//  .reportLanguage(java.lang.String)
//  .reportLanguage(IResolvable)
//  .reportScope(IResolvable)
//  .reportScope(java.util.List<IResolvable)
//  .reportScope(ReportScopeProperty>)
//  .reportTemplateDescription(java.lang.String)
//  .reportTemplateDescription(IResolvable)
//  .subscriptionFrequency(java.lang.String)
//  .subscriptionFrequency(IResolvable)
    .build();

Properties

Name Type Description
reportTemplateName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property reportTemplateName: Report Template Name.
reportFileFormats java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property reportFileFormats: Report Format.
reportGranularity java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property reportGranularity: Report Aggregation Granularity.
reportLanguage java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property reportLanguage: Report Content Language, Currently only support zh-CN or en-US.
reportScope com.aliyun.ros.cdk.core.IResolvable OR java.util.ListReportScopeProperty> Property reportScope: Report range, yes and logic between multiple sets of k-v pairs.
reportTemplateDescription java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property reportTemplateDescription: Report Template Description.
subscriptionFrequency java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property subscriptionFrequency: Report subscription frequency.

reportTemplateNameRequired

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

Property reportTemplateName: Report Template Name.


reportFileFormatsOptional

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

Property reportFileFormats: Report Format.

Currently only support excel.


reportGranularityOptional

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

Property reportGranularity: Report Aggregation Granularity.


reportLanguageOptional

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

Property reportLanguage: Report Content Language, Currently only support zh-CN or en-US.


reportScopeOptional

public java.lang.Object getReportScope();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListReportScopeProperty>

Property reportScope: Report range, yes and logic between multiple sets of k-v pairs.


reportTemplateDescriptionOptional

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

Property reportTemplateDescription: Report Template Description.


subscriptionFrequencyOptional

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

Property subscriptionFrequency: Report subscription frequency.

If this field is not empty, it is a Cron expression in Quartz format triggered by the subscription notification. The format is: Seconds, time, day, month, week. The following are examples of commonly used Cron expressions:

  • Execute at 0 o'clock every day: 0 0 0 * *?
  • Every Monday at 15: 30: 0 30 15? * MON
  • Execute at 2 o'clock on the 1st of each month: 0 0 2 1 *? Among them:
  • "*" Indicates any value
  • What-? Used for day and week fields, indicating that no specific value is specified
  • MON means Monday

The trigger time is UTC +8, and the settings of the cron expression can be converted according to the time zone. It can only be triggered according to the cron expression time as much as possible. The cron expression limits the same template to trigger at most one notification per day.