Class CfnScheduledReportMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bcm.CfnScheduledReportMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnScheduledReportMixinProps>
- Enclosing interface:
CfnScheduledReportMixinProps
@Stability(Stable)
public static final class CfnScheduledReportMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnScheduledReportMixinProps>
A builder for
CfnScheduledReportMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dashboardArn(String dashboardArn) Sets the value ofCfnScheduledReportMixinProps.getDashboardArn()description(String description) Sets the value ofCfnScheduledReportMixinProps.getDescription()Sets the value ofCfnScheduledReportMixinProps.getName()scheduleConfig(CfnScheduledReportPropsMixin.ScheduleConfigProperty scheduleConfig) Sets the value ofCfnScheduledReportMixinProps.getScheduleConfig()scheduleConfig(IResolvable scheduleConfig) Sets the value ofCfnScheduledReportMixinProps.getScheduleConfig()scheduledReportExecutionRoleArn(String scheduledReportExecutionRoleArn) Sets the value ofCfnScheduledReportMixinProps.getScheduledReportExecutionRoleArn()Sets the value ofCfnScheduledReportMixinProps.getTags()widgetDateRangeOverride(CfnScheduledReportPropsMixin.DateTimeRangeProperty widgetDateRangeOverride) Sets the value ofCfnScheduledReportMixinProps.getWidgetDateRangeOverride()widgetDateRangeOverride(IResolvable widgetDateRangeOverride) Sets the value ofCfnScheduledReportMixinProps.getWidgetDateRangeOverride()Sets the value ofCfnScheduledReportMixinProps.getWidgetIds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dashboardArn
Sets the value ofCfnScheduledReportMixinProps.getDashboardArn()- Parameters:
dashboardArn- The ARN of the dashboard associated with the scheduled report. Managed dashboards cannot be used.- Returns:
this
-
description
Sets the value ofCfnScheduledReportMixinProps.getDescription()- Parameters:
description- A description of the scheduled report's purpose or contents.- Returns:
this
-
name
Sets the value ofCfnScheduledReportMixinProps.getName()- Parameters:
name- The name of the scheduled report.- Returns:
this
-
scheduleConfig
@Stability(Stable) public CfnScheduledReportMixinProps.Builder scheduleConfig(IResolvable scheduleConfig) Sets the value ofCfnScheduledReportMixinProps.getScheduleConfig()- Parameters:
scheduleConfig- Defines when and how often a scheduled report runs.- Returns:
this
-
scheduleConfig
@Stability(Stable) public CfnScheduledReportMixinProps.Builder scheduleConfig(CfnScheduledReportPropsMixin.ScheduleConfigProperty scheduleConfig) Sets the value ofCfnScheduledReportMixinProps.getScheduleConfig()- Parameters:
scheduleConfig- Defines when and how often a scheduled report runs.- Returns:
this
-
scheduledReportExecutionRoleArn
@Stability(Stable) public CfnScheduledReportMixinProps.Builder scheduledReportExecutionRoleArn(String scheduledReportExecutionRoleArn) Sets the value ofCfnScheduledReportMixinProps.getScheduledReportExecutionRoleArn()- Parameters:
scheduledReportExecutionRoleArn- The ARN of the IAM role that the scheduled report uses to execute. AWS Billing and Cost Management Dashboards assumes this IAM role while executing the scheduled report.- Returns:
this
-
tags
Sets the value ofCfnScheduledReportMixinProps.getTags()- Parameters:
tags- The tags applied to the scheduled report.- Returns:
this
-
widgetDateRangeOverride
@Stability(Stable) public CfnScheduledReportMixinProps.Builder widgetDateRangeOverride(IResolvable widgetDateRangeOverride) Sets the value ofCfnScheduledReportMixinProps.getWidgetDateRangeOverride()- Parameters:
widgetDateRangeOverride- An absolute or relative date range.- Returns:
this
-
widgetDateRangeOverride
@Stability(Stable) public CfnScheduledReportMixinProps.Builder widgetDateRangeOverride(CfnScheduledReportPropsMixin.DateTimeRangeProperty widgetDateRangeOverride) Sets the value ofCfnScheduledReportMixinProps.getWidgetDateRangeOverride()- Parameters:
widgetDateRangeOverride- An absolute or relative date range.- Returns:
this
-
widgetIds
Sets the value ofCfnScheduledReportMixinProps.getWidgetIds()- Parameters:
widgetIds- The list of widget identifiers included in the scheduled report. If not specified, all widgets in the dashboard are included.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnScheduledReportMixinProps>- Returns:
- a new instance of
CfnScheduledReportMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-