Class CfnDashboardPropsMixin.RefreshScheduleProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.cloudtrail.mixins.CfnDashboardPropsMixin.RefreshScheduleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboardPropsMixin.RefreshScheduleProperty>
- Enclosing interface:
CfnDashboardPropsMixin.RefreshScheduleProperty
@Stability(Stable)
public static final class CfnDashboardPropsMixin.RefreshScheduleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboardPropsMixin.RefreshScheduleProperty>
A builder for
CfnDashboardPropsMixin.RefreshScheduleProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.frequency(IResolvable frequency) Sets the value ofCfnDashboardPropsMixin.RefreshScheduleProperty.getFrequency()Sets the value ofCfnDashboardPropsMixin.RefreshScheduleProperty.getFrequency()Sets the value ofCfnDashboardPropsMixin.RefreshScheduleProperty.getStatus()Sets the value ofCfnDashboardPropsMixin.RefreshScheduleProperty.getTimeOfDay()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
frequency
@Stability(Stable) public CfnDashboardPropsMixin.RefreshScheduleProperty.Builder frequency(IResolvable frequency) Sets the value ofCfnDashboardPropsMixin.RefreshScheduleProperty.getFrequency()- Parameters:
frequency- The frequency at which you want the dashboard refreshed.- Returns:
this
-
frequency
@Stability(Stable) public CfnDashboardPropsMixin.RefreshScheduleProperty.Builder frequency(CfnDashboardPropsMixin.FrequencyProperty frequency) Sets the value ofCfnDashboardPropsMixin.RefreshScheduleProperty.getFrequency()- Parameters:
frequency- The frequency at which you want the dashboard refreshed.- Returns:
this
-
status
@Stability(Stable) public CfnDashboardPropsMixin.RefreshScheduleProperty.Builder status(String status) Sets the value ofCfnDashboardPropsMixin.RefreshScheduleProperty.getStatus()- Parameters:
status- Specifies whether the refresh schedule is enabled. Set the value toENABLEDto enable the refresh schedule, or toDISABLEDto turn off the refresh schedule.- Returns:
this
-
timeOfDay
@Stability(Stable) public CfnDashboardPropsMixin.RefreshScheduleProperty.Builder timeOfDay(String timeOfDay) Sets the value ofCfnDashboardPropsMixin.RefreshScheduleProperty.getTimeOfDay()- Parameters:
timeOfDay- The time of day in UTC to run the schedule;. for hourly only refer to minutes; default is 00:00.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDashboardPropsMixin.RefreshScheduleProperty>- Returns:
- a new instance of
CfnDashboardPropsMixin.RefreshScheduleProperty - Throws:
NullPointerException- if any required attribute was not provided
-