@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataFormatConversionConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Specifies that you want Kinesis Data Firehose to convert data from the JSON format to the Parquet or ORC format before writing it to Amazon S3. Kinesis Data Firehose uses the serializer and deserializer that you specify, in addition to the column information from the AWS Glue table, to deserialize your input data from JSON and then serialize it to the Parquet or ORC format. For more information, see Kinesis Data Firehose Record Format Conversion.
Constructor and Description |
---|
DataFormatConversionConfiguration() |
Modifier and Type | Method and Description |
---|---|
DataFormatConversionConfiguration |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnabled()
Defaults to
true . |
InputFormatConfiguration |
getInputFormatConfiguration()
Specifies the deserializer that you want Kinesis Data Firehose to use to convert the format of your data from
JSON.
|
OutputFormatConfiguration |
getOutputFormatConfiguration()
Specifies the serializer that you want Kinesis Data Firehose to use to convert the format of your data to the
Parquet or ORC format.
|
SchemaConfiguration |
getSchemaConfiguration()
Specifies the AWS Glue Data Catalog table that contains the column information.
|
int |
hashCode() |
Boolean |
isEnabled()
Defaults to
true . |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setEnabled(Boolean enabled)
Defaults to
true . |
void |
setInputFormatConfiguration(InputFormatConfiguration inputFormatConfiguration)
Specifies the deserializer that you want Kinesis Data Firehose to use to convert the format of your data from
JSON.
|
void |
setOutputFormatConfiguration(OutputFormatConfiguration outputFormatConfiguration)
Specifies the serializer that you want Kinesis Data Firehose to use to convert the format of your data to the
Parquet or ORC format.
|
void |
setSchemaConfiguration(SchemaConfiguration schemaConfiguration)
Specifies the AWS Glue Data Catalog table that contains the column information.
|
String |
toString()
Returns a string representation of this object.
|
DataFormatConversionConfiguration |
withEnabled(Boolean enabled)
Defaults to
true . |
DataFormatConversionConfiguration |
withInputFormatConfiguration(InputFormatConfiguration inputFormatConfiguration)
Specifies the deserializer that you want Kinesis Data Firehose to use to convert the format of your data from
JSON.
|
DataFormatConversionConfiguration |
withOutputFormatConfiguration(OutputFormatConfiguration outputFormatConfiguration)
Specifies the serializer that you want Kinesis Data Firehose to use to convert the format of your data to the
Parquet or ORC format.
|
DataFormatConversionConfiguration |
withSchemaConfiguration(SchemaConfiguration schemaConfiguration)
Specifies the AWS Glue Data Catalog table that contains the column information.
|
public void setSchemaConfiguration(SchemaConfiguration schemaConfiguration)
Specifies the AWS Glue Data Catalog table that contains the column information.
schemaConfiguration
- Specifies the AWS Glue Data Catalog table that contains the column information.public SchemaConfiguration getSchemaConfiguration()
Specifies the AWS Glue Data Catalog table that contains the column information.
public DataFormatConversionConfiguration withSchemaConfiguration(SchemaConfiguration schemaConfiguration)
Specifies the AWS Glue Data Catalog table that contains the column information.
schemaConfiguration
- Specifies the AWS Glue Data Catalog table that contains the column information.public void setInputFormatConfiguration(InputFormatConfiguration inputFormatConfiguration)
Specifies the deserializer that you want Kinesis Data Firehose to use to convert the format of your data from JSON.
inputFormatConfiguration
- Specifies the deserializer that you want Kinesis Data Firehose to use to convert the format of your data
from JSON.public InputFormatConfiguration getInputFormatConfiguration()
Specifies the deserializer that you want Kinesis Data Firehose to use to convert the format of your data from JSON.
public DataFormatConversionConfiguration withInputFormatConfiguration(InputFormatConfiguration inputFormatConfiguration)
Specifies the deserializer that you want Kinesis Data Firehose to use to convert the format of your data from JSON.
inputFormatConfiguration
- Specifies the deserializer that you want Kinesis Data Firehose to use to convert the format of your data
from JSON.public void setOutputFormatConfiguration(OutputFormatConfiguration outputFormatConfiguration)
Specifies the serializer that you want Kinesis Data Firehose to use to convert the format of your data to the Parquet or ORC format.
outputFormatConfiguration
- Specifies the serializer that you want Kinesis Data Firehose to use to convert the format of your data to
the Parquet or ORC format.public OutputFormatConfiguration getOutputFormatConfiguration()
Specifies the serializer that you want Kinesis Data Firehose to use to convert the format of your data to the Parquet or ORC format.
public DataFormatConversionConfiguration withOutputFormatConfiguration(OutputFormatConfiguration outputFormatConfiguration)
Specifies the serializer that you want Kinesis Data Firehose to use to convert the format of your data to the Parquet or ORC format.
outputFormatConfiguration
- Specifies the serializer that you want Kinesis Data Firehose to use to convert the format of your data to
the Parquet or ORC format.public void setEnabled(Boolean enabled)
Defaults to true
. Set it to false
if you want to disable format conversion while
preserving the configuration details.
enabled
- Defaults to true
. Set it to false
if you want to disable format conversion while
preserving the configuration details.public Boolean getEnabled()
Defaults to true
. Set it to false
if you want to disable format conversion while
preserving the configuration details.
true
. Set it to false
if you want to disable format conversion
while preserving the configuration details.public DataFormatConversionConfiguration withEnabled(Boolean enabled)
Defaults to true
. Set it to false
if you want to disable format conversion while
preserving the configuration details.
enabled
- Defaults to true
. Set it to false
if you want to disable format conversion while
preserving the configuration details.public Boolean isEnabled()
Defaults to true
. Set it to false
if you want to disable format conversion while
preserving the configuration details.
true
. Set it to false
if you want to disable format conversion
while preserving the configuration details.public String toString()
toString
in class Object
Object.toString()
public DataFormatConversionConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2018. All rights reserved.