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(Deprecated)
@Deprecated
public static final class DateProjectionStep.Builder
extends Object
implements software.amazon.jsii.Builder<DateProjectionStep>
Deprecated.
A builder for
DateProjectionStep-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Deprecated.Deprecated.intervalUnit(DateIntervalUnit intervalUnit) Deprecated.
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
interval
Deprecated.Sets the value ofDateProjectionStep.getInterval()- Parameters:
interval- Interval between partition values. This parameter is required.- Returns:
this
-
intervalUnit
@Stability(Deprecated) @Deprecated public DateProjectionStep.Builder intervalUnit(DateIntervalUnit intervalUnit) Deprecated.Sets the value ofDateProjectionStep.getIntervalUnit()- Parameters:
intervalUnit- Unit for the interval. This parameter is required.- Returns:
this
-
build
Deprecated.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
-