Class CfnDataSource.ScheduleConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.datazone.CfnDataSource.ScheduleConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.ScheduleConfigurationProperty>
- Enclosing interface:
CfnDataSource.ScheduleConfigurationProperty
@Stability(Stable)
public static final class CfnDataSource.ScheduleConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.ScheduleConfigurationProperty>
A builder for
CfnDataSource.ScheduleConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDataSource.ScheduleConfigurationProperty.getSchedule()Sets the value ofCfnDataSource.ScheduleConfigurationProperty.getTimezone()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
schedule
@Stability(Stable) public CfnDataSource.ScheduleConfigurationProperty.Builder schedule(String schedule) Sets the value ofCfnDataSource.ScheduleConfigurationProperty.getSchedule()- Parameters:
schedule- The schedule of the data source runs.- Returns:
this
-
timezone
@Stability(Stable) public CfnDataSource.ScheduleConfigurationProperty.Builder timezone(String timezone) Sets the value ofCfnDataSource.ScheduleConfigurationProperty.getTimezone()- Parameters:
timezone- The timezone of the data source run.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSource.ScheduleConfigurationProperty>- Returns:
- a new instance of
CfnDataSource.ScheduleConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-