Class DataFormatConversionConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.firehose.model.DataFormatConversionConfiguration
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<DataFormatConversionConfiguration.Builder,DataFormatConversionConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class DataFormatConversionConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DataFormatConversionConfiguration.Builder,DataFormatConversionConfiguration>
Specifies that you want Firehose to convert data from the JSON format to the Parquet or ORC format before writing it to Amazon S3. Firehose uses the serializer and deserializer that you specify, in addition to the column information from the Amazon Web Services Glue table, to deserialize your input data from JSON and then serialize it to the Parquet or ORC format. For more information, see Firehose Record Format Conversion.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
DataFormatConversionConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataFormatConversionConfiguration.Builder
builder()
Boolean
enabled()
Defaults totrue
.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
InputFormatConfiguration
inputFormatConfiguration()
Specifies the deserializer that you want Firehose to use to convert the format of your data from JSON.OutputFormatConfiguration
outputFormatConfiguration()
Specifies the serializer that you want Firehose to use to convert the format of your data to the Parquet or ORC format.SchemaConfiguration
schemaConfiguration()
Specifies the Amazon Web Services Glue Data Catalog table that contains the column information.List<SdkField<?>>
sdkFields()
static Class<? extends DataFormatConversionConfiguration.Builder>
serializableBuilderClass()
DataFormatConversionConfiguration.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
schemaConfiguration
public final SchemaConfiguration schemaConfiguration()
Specifies the Amazon Web Services Glue Data Catalog table that contains the column information. This parameter is required if
Enabled
is set to true.- Returns:
- Specifies the Amazon Web Services Glue Data Catalog table that contains the column information. This
parameter is required if
Enabled
is set to true.
-
inputFormatConfiguration
public final InputFormatConfiguration inputFormatConfiguration()
Specifies the deserializer that you want Firehose to use to convert the format of your data from JSON. This parameter is required if
Enabled
is set to true.- Returns:
- Specifies the deserializer that you want Firehose to use to convert the format of your data from JSON.
This parameter is required if
Enabled
is set to true.
-
outputFormatConfiguration
public final OutputFormatConfiguration outputFormatConfiguration()
Specifies the serializer that you want 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.- Returns:
- Specifies the serializer that you want 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
public final Boolean enabled()
Defaults to
true
. Set it tofalse
if you want to disable format conversion while preserving the configuration details.- Returns:
- Defaults to
true
. Set it tofalse
if you want to disable format conversion while preserving the configuration details.
-
toBuilder
public DataFormatConversionConfiguration.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<DataFormatConversionConfiguration.Builder,DataFormatConversionConfiguration>
-
builder
public static DataFormatConversionConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends DataFormatConversionConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-