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