@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)
Marshalls this structured data using the given
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. This parameter is required if
Enabled
is set to true.
schemaConfiguration
- Specifies the AWS Glue Data Catalog table that contains the column information. This parameter is required
if Enabled
is set to true.public SchemaConfiguration getSchemaConfiguration()
Specifies the AWS Glue Data Catalog table that contains the column information. This parameter is required if
Enabled
is set to true.
Enabled
is set to true.public DataFormatConversionConfiguration withSchemaConfiguration(SchemaConfiguration schemaConfiguration)
Specifies the AWS Glue Data Catalog table that contains the column information. This parameter is required if
Enabled
is set to true.
schemaConfiguration
- Specifies the AWS Glue Data Catalog table that contains the column information. This parameter is required
if Enabled
is set to true.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. This parameter is required if Enabled
is set to true.
inputFormatConfiguration
- Specifies the deserializer that you want Kinesis Data Firehose to use to convert the format of your data
from JSON. This parameter is required if Enabled
is set to true.public InputFormatConfiguration getInputFormatConfiguration()
Specifies the deserializer that you want Kinesis Data Firehose to use to convert the format of your data from
JSON. This parameter is required if Enabled
is set to true.
Enabled
is set to true.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. This parameter is required if Enabled
is set to true.
inputFormatConfiguration
- Specifies the deserializer that you want Kinesis Data Firehose to use to convert the format of your data
from JSON. This parameter is required if Enabled
is set to true.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. This parameter is required if Enabled
is set to true.
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. This parameter is required if Enabled
is set to true.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. This parameter is required if Enabled
is set to true.
Enabled
is set to true.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. This parameter is required if Enabled
is set to true.
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. This parameter is required if Enabled
is set to true.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)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.