Class CfnDataSourcePropsMixin.MonthlyScheduleProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnDataSourcePropsMixin.MonthlyScheduleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSourcePropsMixin.MonthlyScheduleProperty>
- Enclosing interface:
CfnDataSourcePropsMixin.MonthlyScheduleProperty
@Stability(Stable)
public static final class CfnDataSourcePropsMixin.MonthlyScheduleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSourcePropsMixin.MonthlyScheduleProperty>
A builder for
CfnDataSourcePropsMixin.MonthlyScheduleProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dayOfMonth(CfnDataSourcePropsMixin.DayOfMonthProperty dayOfMonth) Sets the value ofCfnDataSourcePropsMixin.MonthlyScheduleProperty.getDayOfMonth()dayOfMonth(IResolvable dayOfMonth) Sets the value ofCfnDataSourcePropsMixin.MonthlyScheduleProperty.getDayOfMonth()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dayOfMonth
@Stability(Stable) public CfnDataSourcePropsMixin.MonthlyScheduleProperty.Builder dayOfMonth(IResolvable dayOfMonth) Sets the value ofCfnDataSourcePropsMixin.MonthlyScheduleProperty.getDayOfMonth()- Parameters:
dayOfMonth- Day of the month on which a monthly refresh runs. Exactly one variant is set: an explicit day number, or the last calendar day of the month.- Returns:
this
-
dayOfMonth
@Stability(Stable) public CfnDataSourcePropsMixin.MonthlyScheduleProperty.Builder dayOfMonth(CfnDataSourcePropsMixin.DayOfMonthProperty dayOfMonth) Sets the value ofCfnDataSourcePropsMixin.MonthlyScheduleProperty.getDayOfMonth()- Parameters:
dayOfMonth- Day of the month on which a monthly refresh runs. Exactly one variant is set: an explicit day number, or the last calendar day of the month.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSourcePropsMixin.MonthlyScheduleProperty>- Returns:
- a new instance of
CfnDataSourcePropsMixin.MonthlyScheduleProperty - Throws:
NullPointerException- if any required attribute was not provided
-