Class CfnDeliveryStreamPropsMixin.DataFormatConversionConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kinesisfirehose.CfnDeliveryStreamPropsMixin.DataFormatConversionConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliveryStreamPropsMixin.DataFormatConversionConfigurationProperty>
- Enclosing interface:
CfnDeliveryStreamPropsMixin.DataFormatConversionConfigurationProperty
@Stability(Stable)
public static final class CfnDeliveryStreamPropsMixin.DataFormatConversionConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliveryStreamPropsMixin.DataFormatConversionConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.enabled(IResolvable enabled) inputFormatConfiguration(CfnDeliveryStreamPropsMixin.InputFormatConfigurationProperty inputFormatConfiguration) inputFormatConfiguration(IResolvable inputFormatConfiguration) outputFormatConfiguration(CfnDeliveryStreamPropsMixin.OutputFormatConfigurationProperty outputFormatConfiguration) outputFormatConfiguration(IResolvable outputFormatConfiguration) schemaConfiguration(CfnDeliveryStreamPropsMixin.SchemaConfigurationProperty schemaConfiguration) schemaConfiguration(IResolvable schemaConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
@Stability(Stable) public CfnDeliveryStreamPropsMixin.DataFormatConversionConfigurationProperty.Builder enabled(Boolean enabled) Sets the value ofCfnDeliveryStreamPropsMixin.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 CfnDeliveryStreamPropsMixin.DataFormatConversionConfigurationProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnDeliveryStreamPropsMixin.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 CfnDeliveryStreamPropsMixin.DataFormatConversionConfigurationProperty.Builder inputFormatConfiguration(IResolvable inputFormatConfiguration) Sets the value ofCfnDeliveryStreamPropsMixin.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 CfnDeliveryStreamPropsMixin.DataFormatConversionConfigurationProperty.Builder inputFormatConfiguration(CfnDeliveryStreamPropsMixin.InputFormatConfigurationProperty inputFormatConfiguration) Sets the value ofCfnDeliveryStreamPropsMixin.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 CfnDeliveryStreamPropsMixin.DataFormatConversionConfigurationProperty.Builder outputFormatConfiguration(IResolvable outputFormatConfiguration) Sets the value ofCfnDeliveryStreamPropsMixin.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 CfnDeliveryStreamPropsMixin.DataFormatConversionConfigurationProperty.Builder outputFormatConfiguration(CfnDeliveryStreamPropsMixin.OutputFormatConfigurationProperty outputFormatConfiguration) Sets the value ofCfnDeliveryStreamPropsMixin.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 CfnDeliveryStreamPropsMixin.DataFormatConversionConfigurationProperty.Builder schemaConfiguration(IResolvable schemaConfiguration) Sets the value ofCfnDeliveryStreamPropsMixin.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 CfnDeliveryStreamPropsMixin.DataFormatConversionConfigurationProperty.Builder schemaConfiguration(CfnDeliveryStreamPropsMixin.SchemaConfigurationProperty schemaConfiguration) Sets the value ofCfnDeliveryStreamPropsMixin.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
@Stability(Stable) public CfnDeliveryStreamPropsMixin.DataFormatConversionConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeliveryStreamPropsMixin.DataFormatConversionConfigurationProperty>- Returns:
- a new instance of
CfnDeliveryStreamPropsMixin.DataFormatConversionConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-