Class CfnDeliveryStream.DataFormatConversionConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisfirehose.CfnDeliveryStream.DataFormatConversionConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliveryStream.DataFormatConversionConfigurationProperty>
- Enclosing interface:
CfnDeliveryStream.DataFormatConversionConfigurationProperty
@Stability(Stable)
public static final class CfnDeliveryStream.DataFormatConversionConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliveryStream.DataFormatConversionConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDeliveryStream.DataFormatConversionConfigurationProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnDeliveryStream.DataFormatConversionConfigurationProperty.getEnabled()inputFormatConfiguration(IResolvable inputFormatConfiguration) inputFormatConfiguration(CfnDeliveryStream.InputFormatConfigurationProperty inputFormatConfiguration) outputFormatConfiguration(IResolvable outputFormatConfiguration) outputFormatConfiguration(CfnDeliveryStream.OutputFormatConfigurationProperty outputFormatConfiguration) schemaConfiguration(IResolvable schemaConfiguration) schemaConfiguration(CfnDeliveryStream.SchemaConfigurationProperty schemaConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
@Stability(Stable) public CfnDeliveryStream.DataFormatConversionConfigurationProperty.Builder enabled(Boolean enabled) Sets the value ofCfnDeliveryStream.DataFormatConversionConfigurationProperty.getEnabled()- Parameters:
enabled- Defaults totrue. Set it tofalseif you want to disable format conversion while preserving the configuration details.- Returns:
this
-
enabled
@Stability(Stable) public CfnDeliveryStream.DataFormatConversionConfigurationProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnDeliveryStream.DataFormatConversionConfigurationProperty.getEnabled()- Parameters:
enabled- Defaults totrue. Set it tofalseif you want to disable format conversion while preserving the configuration details.- Returns:
this
-
inputFormatConfiguration
@Stability(Stable) public CfnDeliveryStream.DataFormatConversionConfigurationProperty.Builder inputFormatConfiguration(IResolvable inputFormatConfiguration) Sets the value ofCfnDeliveryStream.DataFormatConversionConfigurationProperty.getInputFormatConfiguration()- 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:
this
-
inputFormatConfiguration
@Stability(Stable) public CfnDeliveryStream.DataFormatConversionConfigurationProperty.Builder inputFormatConfiguration(CfnDeliveryStream.InputFormatConfigurationProperty inputFormatConfiguration) Sets the value ofCfnDeliveryStream.DataFormatConversionConfigurationProperty.getInputFormatConfiguration()- 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:
this
-
outputFormatConfiguration
@Stability(Stable) public CfnDeliveryStream.DataFormatConversionConfigurationProperty.Builder outputFormatConfiguration(IResolvable outputFormatConfiguration) Sets the value ofCfnDeliveryStream.DataFormatConversionConfigurationProperty.getOutputFormatConfiguration()- 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:
this
-
outputFormatConfiguration
@Stability(Stable) public CfnDeliveryStream.DataFormatConversionConfigurationProperty.Builder outputFormatConfiguration(CfnDeliveryStream.OutputFormatConfigurationProperty outputFormatConfiguration) Sets the value ofCfnDeliveryStream.DataFormatConversionConfigurationProperty.getOutputFormatConfiguration()- 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:
this
-
schemaConfiguration
@Stability(Stable) public CfnDeliveryStream.DataFormatConversionConfigurationProperty.Builder schemaConfiguration(IResolvable schemaConfiguration) Sets the value ofCfnDeliveryStream.DataFormatConversionConfigurationProperty.getSchemaConfiguration()- Parameters:
schemaConfiguration- Specifies the AWS Glue Data Catalog table that contains the column information. This parameter is required ifEnabledis set to true.- Returns:
this
-
schemaConfiguration
@Stability(Stable) public CfnDeliveryStream.DataFormatConversionConfigurationProperty.Builder schemaConfiguration(CfnDeliveryStream.SchemaConfigurationProperty schemaConfiguration) Sets the value ofCfnDeliveryStream.DataFormatConversionConfigurationProperty.getSchemaConfiguration()- Parameters:
schemaConfiguration- Specifies the AWS Glue Data Catalog table that contains the column information. This parameter is required ifEnabledis set to true.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeliveryStream.DataFormatConversionConfigurationProperty>- Returns:
- a new instance of
CfnDeliveryStream.DataFormatConversionConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-