Class CfnDataSourcePropsMixin.DayOfMonthProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnDataSourcePropsMixin.DayOfMonthProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSourcePropsMixin.DayOfMonthProperty>
- Enclosing interface:
CfnDataSourcePropsMixin.DayOfMonthProperty
@Stability(Stable)
public static final class CfnDataSourcePropsMixin.DayOfMonthProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSourcePropsMixin.DayOfMonthProperty>
A builder for
CfnDataSourcePropsMixin.DayOfMonthProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDataSourcePropsMixin.DayOfMonthProperty.getDayNumber()lastDayOfMonth(Object lastDayOfMonth) Sets the value ofCfnDataSourcePropsMixin.DayOfMonthProperty.getLastDayOfMonth()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dayNumber
@Stability(Stable) public CfnDataSourcePropsMixin.DayOfMonthProperty.Builder dayNumber(Number dayNumber) Sets the value ofCfnDataSourcePropsMixin.DayOfMonthProperty.getDayNumber()- Parameters:
dayNumber- Specific day of the month, 1 through 28 (capped at 28 to avoid month-length ambiguity).- Returns:
this
-
lastDayOfMonth
@Stability(Stable) public CfnDataSourcePropsMixin.DayOfMonthProperty.Builder lastDayOfMonth(Object lastDayOfMonth) Sets the value ofCfnDataSourcePropsMixin.DayOfMonthProperty.getLastDayOfMonth()- Parameters:
lastDayOfMonth- Run on the last calendar day of each month.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSourcePropsMixin.DayOfMonthProperty>- Returns:
- a new instance of
CfnDataSourcePropsMixin.DayOfMonthProperty - Throws:
NullPointerException- if any required attribute was not provided
-