Class CfnDeliveryStream.HiveJsonSerDeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisfirehose.CfnDeliveryStream.HiveJsonSerDeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliveryStream.HiveJsonSerDeProperty>
- Enclosing interface:
CfnDeliveryStream.HiveJsonSerDeProperty
@Stability(Stable)
public static final class CfnDeliveryStream.HiveJsonSerDeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliveryStream.HiveJsonSerDeProperty>
A builder for
CfnDeliveryStream.HiveJsonSerDeProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.timestampFormats
(List<String> timestampFormats) Sets the value ofCfnDeliveryStream.HiveJsonSerDeProperty.getTimestampFormats()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
timestampFormats
@Stability(Stable) public CfnDeliveryStream.HiveJsonSerDeProperty.Builder timestampFormats(List<String> timestampFormats) Sets the value ofCfnDeliveryStream.HiveJsonSerDeProperty.getTimestampFormats()
- Parameters:
timestampFormats
- Indicates how you want Firehose to parse the date and timestamps that may be present in your input data JSON. To specify these format strings, follow the pattern syntax of JodaTime's DateTimeFormat format strings. For more information, see Class DateTimeFormat . You can also use the special valuemillis
to parse timestamps in epoch milliseconds. If you don't specify a format, Firehose usesjava.sql.Timestamp::valueOf
by default.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDeliveryStream.HiveJsonSerDeProperty>
- Returns:
- a new instance of
CfnDeliveryStream.HiveJsonSerDeProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-