com.pulumi.aws.kinesis.outputs.FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfiguration Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.kinesis.outputs;
import com.pulumi.aws.kinesis.outputs.FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfiguration;
import com.pulumi.aws.kinesis.outputs.FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfiguration;
import com.pulumi.aws.kinesis.outputs.FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationSchemaConfiguration;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfiguration {
/**
* @return Defaults to `true`. Set it to `false` if you want to disable format conversion while preserving the configuration details.
*
*/
private @Nullable Boolean enabled;
/**
* @return Specifies the deserializer that you want Kinesis Data Firehose to use to convert the format of your data from JSON. See `input_format_configuration` block below for details.
*
*/
private FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfiguration inputFormatConfiguration;
/**
* @return Specifies the serializer that you want Kinesis Data Firehose to use to convert the format of your data to the Parquet or ORC format. See `output_format_configuration` block below for details.
*
*/
private FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfiguration outputFormatConfiguration;
/**
* @return Specifies the AWS Glue Data Catalog table that contains the column information. See `schema_configuration` block below for details.
*
*/
private FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationSchemaConfiguration schemaConfiguration;
private FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfiguration() {}
/**
* @return Defaults to `true`. Set it to `false` if you want to disable format conversion while preserving the configuration details.
*
*/
public Optional enabled() {
return Optional.ofNullable(this.enabled);
}
/**
* @return Specifies the deserializer that you want Kinesis Data Firehose to use to convert the format of your data from JSON. See `input_format_configuration` block below for details.
*
*/
public FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfiguration inputFormatConfiguration() {
return this.inputFormatConfiguration;
}
/**
* @return Specifies the serializer that you want Kinesis Data Firehose to use to convert the format of your data to the Parquet or ORC format. See `output_format_configuration` block below for details.
*
*/
public FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfiguration outputFormatConfiguration() {
return this.outputFormatConfiguration;
}
/**
* @return Specifies the AWS Glue Data Catalog table that contains the column information. See `schema_configuration` block below for details.
*
*/
public FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationSchemaConfiguration schemaConfiguration() {
return this.schemaConfiguration;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfiguration defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Boolean enabled;
private FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfiguration inputFormatConfiguration;
private FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfiguration outputFormatConfiguration;
private FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationSchemaConfiguration schemaConfiguration;
public Builder() {}
public Builder(FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfiguration defaults) {
Objects.requireNonNull(defaults);
this.enabled = defaults.enabled;
this.inputFormatConfiguration = defaults.inputFormatConfiguration;
this.outputFormatConfiguration = defaults.outputFormatConfiguration;
this.schemaConfiguration = defaults.schemaConfiguration;
}
@CustomType.Setter
public Builder enabled(@Nullable Boolean enabled) {
this.enabled = enabled;
return this;
}
@CustomType.Setter
public Builder inputFormatConfiguration(FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationInputFormatConfiguration inputFormatConfiguration) {
if (inputFormatConfiguration == null) {
throw new MissingRequiredPropertyException("FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfiguration", "inputFormatConfiguration");
}
this.inputFormatConfiguration = inputFormatConfiguration;
return this;
}
@CustomType.Setter
public Builder outputFormatConfiguration(FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationOutputFormatConfiguration outputFormatConfiguration) {
if (outputFormatConfiguration == null) {
throw new MissingRequiredPropertyException("FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfiguration", "outputFormatConfiguration");
}
this.outputFormatConfiguration = outputFormatConfiguration;
return this;
}
@CustomType.Setter
public Builder schemaConfiguration(FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfigurationSchemaConfiguration schemaConfiguration) {
if (schemaConfiguration == null) {
throw new MissingRequiredPropertyException("FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfiguration", "schemaConfiguration");
}
this.schemaConfiguration = schemaConfiguration;
return this;
}
public FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfiguration build() {
final var _resultValue = new FirehoseDeliveryStreamExtendedS3ConfigurationDataFormatConversionConfiguration();
_resultValue.enabled = enabled;
_resultValue.inputFormatConfiguration = inputFormatConfiguration;
_resultValue.outputFormatConfiguration = outputFormatConfiguration;
_resultValue.schemaConfiguration = schemaConfiguration;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy