![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.kinesisfirehose.kotlin.inputs.DeliveryStreamHiveJsonSerDeArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.kinesisfirehose.kotlin.inputs
import com.pulumi.awsnative.kinesisfirehose.inputs.DeliveryStreamHiveJsonSerDeArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property timestampFormats Indicates how you want Firehose to parse the date and timestamps that may be present in your input data JSON. To specify these format strings, follow the pattern syntax of JodaTime's DateTimeFormat format strings. For more information, see [Class DateTimeFormat](https://docs.aws.amazon.com/https://www.joda.org/joda-time/apidocs/org/joda/time/format/DateTimeFormat.html) . You can also use the special value `millis` to parse timestamps in epoch milliseconds. If you don't specify a format, Firehose uses `java.sql.Timestamp::valueOf` by default.
*/
public data class DeliveryStreamHiveJsonSerDeArgs(
public val timestampFormats: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.kinesisfirehose.inputs.DeliveryStreamHiveJsonSerDeArgs = com.pulumi.awsnative.kinesisfirehose.inputs.DeliveryStreamHiveJsonSerDeArgs.builder()
.timestampFormats(timestampFormats?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [DeliveryStreamHiveJsonSerDeArgs].
*/
@PulumiTagMarker
public class DeliveryStreamHiveJsonSerDeArgsBuilder internal constructor() {
private var timestampFormats: Output>? = null
/**
* @param value Indicates how you want Firehose to parse the date and timestamps that may be present in your input data JSON. To specify these format strings, follow the pattern syntax of JodaTime's DateTimeFormat format strings. For more information, see [Class DateTimeFormat](https://docs.aws.amazon.com/https://www.joda.org/joda-time/apidocs/org/joda/time/format/DateTimeFormat.html) . You can also use the special value `millis` to parse timestamps in epoch milliseconds. If you don't specify a format, Firehose uses `java.sql.Timestamp::valueOf` by default.
*/
@JvmName("pfxccmskmpfiosnv")
public suspend fun timestampFormats(`value`: Output>) {
this.timestampFormats = value
}
@JvmName("dqeecdfrcgsgyuyo")
public suspend fun timestampFormats(vararg values: Output) {
this.timestampFormats = Output.all(values.asList())
}
/**
* @param values Indicates how you want Firehose to parse the date and timestamps that may be present in your input data JSON. To specify these format strings, follow the pattern syntax of JodaTime's DateTimeFormat format strings. For more information, see [Class DateTimeFormat](https://docs.aws.amazon.com/https://www.joda.org/joda-time/apidocs/org/joda/time/format/DateTimeFormat.html) . You can also use the special value `millis` to parse timestamps in epoch milliseconds. If you don't specify a format, Firehose uses `java.sql.Timestamp::valueOf` by default.
*/
@JvmName("cxicmbqeqtituhnn")
public suspend fun timestampFormats(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy