@Stability(value=Stable) public static final class CfnDeliveryStream.OpenXJsonSerDeProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnDeliveryStream.OpenXJsonSerDeProperty>
CfnDeliveryStream.OpenXJsonSerDeProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnDeliveryStream.OpenXJsonSerDeProperty.Builder caseInsensitive(Boolean caseInsensitive)
CfnDeliveryStream.OpenXJsonSerDeProperty.getCaseInsensitive()caseInsensitive - When set to `true` , which is the default, Kinesis Data Firehose converts JSON keys to lowercase before deserializing them.this@Stability(value=Stable) public CfnDeliveryStream.OpenXJsonSerDeProperty.Builder caseInsensitive(IResolvable caseInsensitive)
CfnDeliveryStream.OpenXJsonSerDeProperty.getCaseInsensitive()caseInsensitive - When set to `true` , which is the default, Kinesis Data Firehose converts JSON keys to lowercase before deserializing them.this@Stability(value=Stable) public CfnDeliveryStream.OpenXJsonSerDeProperty.Builder columnToJsonKeyMappings(IResolvable columnToJsonKeyMappings)
CfnDeliveryStream.OpenXJsonSerDeProperty.getColumnToJsonKeyMappings()columnToJsonKeyMappings - Maps column names to JSON keys that aren't identical to the column names.
This is useful when the JSON contains keys that are Hive keywords. For example, timestamp is a Hive keyword. If you have a JSON key named timestamp , set this parameter to {"ts": "timestamp"} to map this key to a column named ts .this@Stability(value=Stable) public CfnDeliveryStream.OpenXJsonSerDeProperty.Builder columnToJsonKeyMappings(Map<String,String> columnToJsonKeyMappings)
CfnDeliveryStream.OpenXJsonSerDeProperty.getColumnToJsonKeyMappings()columnToJsonKeyMappings - Maps column names to JSON keys that aren't identical to the column names.
This is useful when the JSON contains keys that are Hive keywords. For example, timestamp is a Hive keyword. If you have a JSON key named timestamp , set this parameter to {"ts": "timestamp"} to map this key to a column named ts .this@Stability(value=Stable) public CfnDeliveryStream.OpenXJsonSerDeProperty.Builder convertDotsInJsonKeysToUnderscores(Boolean convertDotsInJsonKeysToUnderscores)
convertDotsInJsonKeysToUnderscores - When set to `true` , specifies that the names of the keys include dots and that you want Kinesis Data Firehose to replace them with underscores.
This is useful because Apache Hive does not allow dots in column names. For example, if the JSON contains a key whose name is "a.b", you can define the column name to be "a_b" when using this option.
The default is false .
this@Stability(value=Stable) public CfnDeliveryStream.OpenXJsonSerDeProperty.Builder convertDotsInJsonKeysToUnderscores(IResolvable convertDotsInJsonKeysToUnderscores)
convertDotsInJsonKeysToUnderscores - When set to `true` , specifies that the names of the keys include dots and that you want Kinesis Data Firehose to replace them with underscores.
This is useful because Apache Hive does not allow dots in column names. For example, if the JSON contains a key whose name is "a.b", you can define the column name to be "a_b" when using this option.
The default is false .
this@Stability(value=Stable) public CfnDeliveryStream.OpenXJsonSerDeProperty build()
build in interface software.amazon.jsii.Builder<CfnDeliveryStream.OpenXJsonSerDeProperty>CfnDeliveryStream.OpenXJsonSerDePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.