Class DatePartitionProjectionConfigurationProps.Builder
java.lang.Object
software.amazon.awscdk.services.glue.alpha.DatePartitionProjectionConfigurationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DatePartitionProjectionConfigurationProps>
- Enclosing interface:
DatePartitionProjectionConfigurationProps
@Stability(Deprecated)
@Deprecated
public static final class DatePartitionProjectionConfigurationProps.Builder
extends Object
implements software.amazon.jsii.Builder<DatePartitionProjectionConfigurationProps>
Deprecated.
A builder for
DatePartitionProjectionConfigurationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Deprecated.Deprecated.Deprecated.Deprecated.step(DateProjectionStep step) Deprecated.
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
format
@Stability(Deprecated) @Deprecated public DatePartitionProjectionConfigurationProps.Builder format(String format) Deprecated.Sets the value ofDatePartitionProjectionConfigurationProps.getFormat()- Parameters:
format- Date format for partition values. This parameter is required. Uses Java SimpleDateFormat patterns.- Returns:
this
-
max
@Stability(Deprecated) @Deprecated public DatePartitionProjectionConfigurationProps.Builder max(String max) Deprecated.Sets the value ofDatePartitionProjectionConfigurationProps.getMax()- Parameters:
max- End date for the partition range (inclusive). This parameter is required. Can be either:- Fixed date in the format specified by
formatproperty - Relative date using NOW syntax
Same format constraints as
min.- Fixed date in the format specified by
- Returns:
this
-
min
@Stability(Deprecated) @Deprecated public DatePartitionProjectionConfigurationProps.Builder min(String min) Deprecated.Sets the value ofDatePartitionProjectionConfigurationProps.getMin()- Parameters:
min- Start date for the partition range (inclusive). This parameter is required. Can be either:- Fixed date in the format specified by
formatproperty (e.g., '2020-01-01' for format 'yyyy-MM-dd') - Relative date using NOW syntax (e.g., 'NOW', 'NOW-3YEARS', 'NOW+1MONTH')
- Fixed date in the format specified by
- Returns:
this
-
step
@Stability(Deprecated) @Deprecated public DatePartitionProjectionConfigurationProps.Builder step(DateProjectionStep step) Deprecated.Sets the value ofDatePartitionProjectionConfigurationProps.getStep()- Parameters:
step- Interval step (interval+intervalUnit) between partition values. The two are supplied together, so a partial step cannot be expressed. Required whenformatcarries sub-day precision — a field finer than a day, such as hours or AM/PM; at day or coarser precision Athena defaults the step, so it may be omitted.- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DatePartitionProjectionConfigurationProps>- Returns:
- a new instance of
DatePartitionProjectionConfigurationProps - Throws:
NullPointerException- if any required attribute was not provided
-