Class DateProjectionStep.Builder
java.lang.Object
software.amazon.awscdk.services.glue.alpha.DateProjectionStep.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DateProjectionStep>
- Enclosing interface:
DateProjectionStep
@Stability(Experimental)
public static final class DateProjectionStep.Builder
extends Object
implements software.amazon.jsii.Builder<DateProjectionStep>
A builder for
DateProjectionStep-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofDateProjectionStep.getInterval()intervalUnit(DateIntervalUnit intervalUnit) Sets the value ofDateProjectionStep.getIntervalUnit()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
interval
Sets the value ofDateProjectionStep.getInterval()- Parameters:
interval- Interval between partition values. This parameter is required.- Returns:
this
-
intervalUnit
@Stability(Experimental) public DateProjectionStep.Builder intervalUnit(DateIntervalUnit intervalUnit) Sets the value ofDateProjectionStep.getIntervalUnit()- Parameters:
intervalUnit- Unit for the interval. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DateProjectionStep>- Returns:
- a new instance of
DateProjectionStep - Throws:
NullPointerException- if any required attribute was not provided
-