Class CfnDataSource.SyncScheduleProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnDataSource.SyncScheduleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.SyncScheduleProperty>
- Enclosing interface:
CfnDataSource.SyncScheduleProperty
@Stability(Stable)
public static final class CfnDataSource.SyncScheduleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.SyncScheduleProperty>
A builder for
CfnDataSource.SyncScheduleProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDataSource.SyncScheduleProperty.getDaily()monthly(IResolvable monthly) Sets the value ofCfnDataSource.SyncScheduleProperty.getMonthly()Sets the value ofCfnDataSource.SyncScheduleProperty.getMonthly()weekly(IResolvable weekly) Sets the value ofCfnDataSource.SyncScheduleProperty.getWeekly()Sets the value ofCfnDataSource.SyncScheduleProperty.getWeekly()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
daily
Sets the value ofCfnDataSource.SyncScheduleProperty.getDaily()- Parameters:
daily- A daily refresh. The run time is system-chosen (off-peak) and not customer-configurable.- Returns:
this
-
monthly
Sets the value ofCfnDataSource.SyncScheduleProperty.getMonthly()- Parameters:
monthly- A monthly refresh on a specified day of the month.- Returns:
this
-
monthly
@Stability(Stable) public CfnDataSource.SyncScheduleProperty.Builder monthly(CfnDataSource.MonthlyScheduleProperty monthly) Sets the value ofCfnDataSource.SyncScheduleProperty.getMonthly()- Parameters:
monthly- A monthly refresh on a specified day of the month.- Returns:
this
-
weekly
Sets the value ofCfnDataSource.SyncScheduleProperty.getWeekly()- Parameters:
weekly- A weekly refresh on a specified day of the week.- Returns:
this
-
weekly
@Stability(Stable) public CfnDataSource.SyncScheduleProperty.Builder weekly(CfnDataSource.WeeklyScheduleProperty weekly) Sets the value ofCfnDataSource.SyncScheduleProperty.getWeekly()- Parameters:
weekly- A weekly refresh on a specified day of the week.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSource.SyncScheduleProperty>- Returns:
- a new instance of
CfnDataSource.SyncScheduleProperty - Throws:
NullPointerException- if any required attribute was not provided
-