Interface DataFormatConversionConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DataFormatConversionConfiguration.Builder,,DataFormatConversionConfiguration> SdkBuilder<DataFormatConversionConfiguration.Builder,,DataFormatConversionConfiguration> SdkPojo
- Enclosing class:
DataFormatConversionConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionDefaults totrue.inputFormatConfiguration(Consumer<InputFormatConfiguration.Builder> inputFormatConfiguration) Specifies the deserializer that you want Firehose to use to convert the format of your data from JSON.inputFormatConfiguration(InputFormatConfiguration inputFormatConfiguration) Specifies the deserializer that you want Firehose to use to convert the format of your data from JSON.outputFormatConfiguration(Consumer<OutputFormatConfiguration.Builder> outputFormatConfiguration) Specifies the serializer that you want Firehose to use to convert the format of your data to the Parquet or ORC format.outputFormatConfiguration(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(Consumer<SchemaConfiguration.Builder> schemaConfiguration) Specifies the Amazon Web Services Glue Data Catalog table that contains the column information.schemaConfiguration(SchemaConfiguration schemaConfiguration) Specifies the Amazon Web Services Glue Data Catalog table that contains the column information.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
schemaConfiguration
DataFormatConversionConfiguration.Builder schemaConfiguration(SchemaConfiguration schemaConfiguration) Specifies the Amazon Web Services Glue Data Catalog table that contains the column information. This parameter is required if
Enabledis set to true.- Parameters:
schemaConfiguration- Specifies the Amazon Web Services Glue Data Catalog table that contains the column information. This parameter is required ifEnabledis set to true.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemaConfiguration
default DataFormatConversionConfiguration.Builder schemaConfiguration(Consumer<SchemaConfiguration.Builder> schemaConfiguration) Specifies the Amazon Web Services Glue Data Catalog table that contains the column information. This parameter is required if
This is a convenience method that creates an instance of theEnabledis set to true.SchemaConfiguration.Builderavoiding the need to create one manually viaSchemaConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toschemaConfiguration(SchemaConfiguration).- Parameters:
schemaConfiguration- a consumer that will call methods onSchemaConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inputFormatConfiguration
DataFormatConversionConfiguration.Builder inputFormatConfiguration(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
Enabledis set to true.- Parameters:
inputFormatConfiguration- Specifies the deserializer that you want Firehose to use to convert the format of your data from JSON. This parameter is required ifEnabledis set to true.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputFormatConfiguration
default DataFormatConversionConfiguration.Builder inputFormatConfiguration(Consumer<InputFormatConfiguration.Builder> inputFormatConfiguration) Specifies the deserializer that you want Firehose to use to convert the format of your data from JSON. This parameter is required if
This is a convenience method that creates an instance of theEnabledis set to true.InputFormatConfiguration.Builderavoiding the need to create one manually viaInputFormatConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinputFormatConfiguration(InputFormatConfiguration).- Parameters:
inputFormatConfiguration- a consumer that will call methods onInputFormatConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputFormatConfiguration
DataFormatConversionConfiguration.Builder outputFormatConfiguration(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
Enabledis set to true.- Parameters:
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 ifEnabledis set to true.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputFormatConfiguration
default DataFormatConversionConfiguration.Builder outputFormatConfiguration(Consumer<OutputFormatConfiguration.Builder> 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
This is a convenience method that creates an instance of theEnabledis set to true.OutputFormatConfiguration.Builderavoiding the need to create one manually viaOutputFormatConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutputFormatConfiguration(OutputFormatConfiguration).- Parameters:
outputFormatConfiguration- a consumer that will call methods onOutputFormatConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
enabled
Defaults to
true. Set it tofalseif you want to disable format conversion while preserving the configuration details.- Parameters:
enabled- Defaults totrue. Set it tofalseif you want to disable format conversion while preserving the configuration details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-