Class HiveJsonInputFormatProps.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisfirehose.HiveJsonInputFormatProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<HiveJsonInputFormatProps>
- Enclosing interface:
HiveJsonInputFormatProps
@Stability(Stable)
public static final class HiveJsonInputFormatProps.Builder
extends Object
implements software.amazon.jsii.Builder<HiveJsonInputFormatProps>
A builder for
HiveJsonInputFormatProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.timestampParsers(List<? extends TimestampParser> timestampParsers) Sets the value ofHiveJsonInputFormatProps.getTimestampParsers()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
timestampParsers
@Stability(Stable) public HiveJsonInputFormatProps.Builder timestampParsers(List<? extends TimestampParser> timestampParsers) Sets the value ofHiveJsonInputFormatProps.getTimestampParsers()- Parameters:
timestampParsers- List of TimestampParsers. These are used to parse custom timestamp strings from input JSON into dates.Note: Specifying a parser will override the default timestamp parser. If the default timestamp parser is required, include
TimestampParser.DEFAULTin the list of parsers along with the custom parser.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<HiveJsonInputFormatProps>- Returns:
- a new instance of
HiveJsonInputFormatProps - Throws:
NullPointerException- if any required attribute was not provided
-