Class HiveJsonInputFormat.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisfirehose.HiveJsonInputFormat.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<HiveJsonInputFormat>
- Enclosing class:
HiveJsonInputFormat
@Stability(Stable)
public static final class HiveJsonInputFormat.Builder
extends Object
implements software.amazon.jsii.Builder<HiveJsonInputFormat>
A fluent builder for
HiveJsonInputFormat.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static HiveJsonInputFormat.Buildercreate()timestampParsers(List<? extends TimestampParser> timestampParsers) List of TimestampParsers.
-
Method Details
-
create
- Returns:
- a new instance of
HiveJsonInputFormat.Builder.
-
timestampParsers
@Stability(Stable) public HiveJsonInputFormat.Builder timestampParsers(List<? extends TimestampParser> 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.Default: the default timestamp parser is used
- Parameters:
timestampParsers- List of TimestampParsers. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<HiveJsonInputFormat>- Returns:
- a newly built instance of
HiveJsonInputFormat.
-