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 Details

    • create

      @Stability(Stable) public static HiveJsonInputFormat.Builder 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.DEFAULT in 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

      @Stability(Stable) public HiveJsonInputFormat build()
      Specified by:
      build in interface software.amazon.jsii.Builder<HiveJsonInputFormat>
      Returns:
      a newly built instance of HiveJsonInputFormat.