Class CfnScheduledReportPropsMixin.ScheduleConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bcm.CfnScheduledReportPropsMixin.ScheduleConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnScheduledReportPropsMixin.ScheduleConfigProperty>
- Enclosing interface:
CfnScheduledReportPropsMixin.ScheduleConfigProperty
@Stability(Stable)
public static final class CfnScheduledReportPropsMixin.ScheduleConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnScheduledReportPropsMixin.ScheduleConfigProperty>
A builder for
CfnScheduledReportPropsMixin.ScheduleConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.scheduleExpression(String scheduleExpression) scheduleExpressionTimeZone(String scheduleExpressionTimeZone) schedulePeriod(CfnScheduledReportPropsMixin.SchedulePeriodProperty schedulePeriod) Sets the value ofCfnScheduledReportPropsMixin.ScheduleConfigProperty.getSchedulePeriod()schedulePeriod(IResolvable schedulePeriod) Sets the value ofCfnScheduledReportPropsMixin.ScheduleConfigProperty.getSchedulePeriod()Sets the value ofCfnScheduledReportPropsMixin.ScheduleConfigProperty.getState()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
scheduleExpression
@Stability(Stable) public CfnScheduledReportPropsMixin.ScheduleConfigProperty.Builder scheduleExpression(String scheduleExpression) - Parameters:
scheduleExpression- The schedule expression that specifies when to trigger the scheduled report run. This value must be a cron expression consisting of six fields separated by white spaces: cron(minutes hours day_of_month month day_of_week year).- Returns:
this
-
scheduleExpressionTimeZone
@Stability(Stable) public CfnScheduledReportPropsMixin.ScheduleConfigProperty.Builder scheduleExpressionTimeZone(String scheduleExpressionTimeZone) Sets the value ofCfnScheduledReportPropsMixin.ScheduleConfigProperty.getScheduleExpressionTimeZone()- Parameters:
scheduleExpressionTimeZone- The time zone for the schedule expression, for example, UTC.- Returns:
this
-
schedulePeriod
@Stability(Stable) public CfnScheduledReportPropsMixin.ScheduleConfigProperty.Builder schedulePeriod(IResolvable schedulePeriod) Sets the value ofCfnScheduledReportPropsMixin.ScheduleConfigProperty.getSchedulePeriod()- Parameters:
schedulePeriod- The window during which the schedule is active. When omitted the service defaults it. EndTime must be within three years of the time of the request.- Returns:
this
-
schedulePeriod
@Stability(Stable) public CfnScheduledReportPropsMixin.ScheduleConfigProperty.Builder schedulePeriod(CfnScheduledReportPropsMixin.SchedulePeriodProperty schedulePeriod) Sets the value ofCfnScheduledReportPropsMixin.ScheduleConfigProperty.getSchedulePeriod()- Parameters:
schedulePeriod- The window during which the schedule is active. When omitted the service defaults it. EndTime must be within three years of the time of the request.- Returns:
this
-
state
@Stability(Stable) public CfnScheduledReportPropsMixin.ScheduleConfigProperty.Builder state(String state) Sets the value ofCfnScheduledReportPropsMixin.ScheduleConfigProperty.getState()- Parameters:
state- Whether the schedule is active.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnScheduledReportPropsMixin.ScheduleConfigProperty>- Returns:
- a new instance of
CfnScheduledReportPropsMixin.ScheduleConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-