Class CfnScheduledQuery.ScheduleConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.timestream.CfnScheduledQuery.ScheduleConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnScheduledQuery.ScheduleConfigurationProperty>
- Enclosing interface:
CfnScheduledQuery.ScheduleConfigurationProperty
@Stability(Stable)
public static final class CfnScheduledQuery.ScheduleConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnScheduledQuery.ScheduleConfigurationProperty>
A builder for
CfnScheduledQuery.ScheduleConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.scheduleExpression
(String scheduleExpression) Sets the value ofCfnScheduledQuery.ScheduleConfigurationProperty.getScheduleExpression()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
scheduleExpression
@Stability(Stable) public CfnScheduledQuery.ScheduleConfigurationProperty.Builder scheduleExpression(String scheduleExpression) Sets the value ofCfnScheduledQuery.ScheduleConfigurationProperty.getScheduleExpression()
- Parameters:
scheduleExpression
- An expression that denotes when to trigger the scheduled query run. This parameter is required. This can be a cron expression or a rate expression.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnScheduledQuery.ScheduleConfigurationProperty>
- Returns:
- a new instance of
CfnScheduledQuery.ScheduleConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-