com.pulumi.gcp.bigquery.kotlin.inputs.TableRangePartitioningRangeArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.bigquery.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.bigquery.inputs.TableRangePartitioningRangeArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property end End of the range partitioning, exclusive.
* @property interval The width of each range within the partition.
* @property start Start of the range partitioning, inclusive.
*/
public data class TableRangePartitioningRangeArgs(
public val end: Output,
public val interval: Output,
public val start: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.bigquery.inputs.TableRangePartitioningRangeArgs =
com.pulumi.gcp.bigquery.inputs.TableRangePartitioningRangeArgs.builder()
.end(end.applyValue({ args0 -> args0 }))
.interval(interval.applyValue({ args0 -> args0 }))
.start(start.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TableRangePartitioningRangeArgs].
*/
@PulumiTagMarker
public class TableRangePartitioningRangeArgsBuilder internal constructor() {
private var end: Output? = null
private var interval: Output? = null
private var start: Output? = null
/**
* @param value End of the range partitioning, exclusive.
*/
@JvmName("qjuqicbnktooxqlt")
public suspend fun end(`value`: Output) {
this.end = value
}
/**
* @param value The width of each range within the partition.
*/
@JvmName("jcgonqibfaxphkif")
public suspend fun interval(`value`: Output) {
this.interval = value
}
/**
* @param value Start of the range partitioning, inclusive.
*/
@JvmName("gyolwcfkvewffajr")
public suspend fun start(`value`: Output) {
this.start = value
}
/**
* @param value End of the range partitioning, exclusive.
*/
@JvmName("hehhksokuwrfivgi")
public suspend fun end(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.end = mapped
}
/**
* @param value The width of each range within the partition.
*/
@JvmName("fykammctlgscmpqj")
public suspend fun interval(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.interval = mapped
}
/**
* @param value Start of the range partitioning, inclusive.
*/
@JvmName("presifkvrrnimenu")
public suspend fun start(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.start = mapped
}
internal fun build(): TableRangePartitioningRangeArgs = TableRangePartitioningRangeArgs(
end = end ?: throw PulumiNullFieldException("end"),
interval = interval ?: throw PulumiNullFieldException("interval"),
start = start ?: throw PulumiNullFieldException("start"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy