com.pulumi.googlenative.bigquery.v2.kotlin.inputs.BigtableColumnFamilyArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.bigquery.v2.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.bigquery.v2.inputs.BigtableColumnFamilyArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property columns [Optional] Lists of columns that should be exposed as individual fields as opposed to a list of (column name, value) pairs. All columns whose qualifier matches a qualifier in this list can be accessed as .. Other columns can be accessed as a list through .Column field.
* @property encoding [Optional] The encoding of the values when the type is not STRING. Acceptable encoding values are: TEXT - indicates values are alphanumeric text strings. BINARY - indicates values are encoded using HBase Bytes.toBytes family of functions. This can be overridden for a specific column by listing that column in 'columns' and specifying an encoding for it.
* @property familyId Identifier of the column family.
* @property onlyReadLatest [Optional] If this is set only the latest version of value are exposed for all columns in this column family. This can be overridden for a specific column by listing that column in 'columns' and specifying a different setting for that column.
* @property type [Optional] The type to convert the value in cells of this column family. The values are expected to be encoded using HBase Bytes.toBytes function when using the BINARY encoding value. Following BigQuery types are allowed (case-sensitive) - BYTES STRING INTEGER FLOAT BOOLEAN Default type is BYTES. This can be overridden for a specific column by listing that column in 'columns' and specifying a type for it.
*/
public data class BigtableColumnFamilyArgs(
public val columns: Output>? = null,
public val encoding: Output? = null,
public val familyId: Output? = null,
public val onlyReadLatest: Output? = null,
public val type: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.bigquery.v2.inputs.BigtableColumnFamilyArgs =
com.pulumi.googlenative.bigquery.v2.inputs.BigtableColumnFamilyArgs.builder()
.columns(
columns?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.encoding(encoding?.applyValue({ args0 -> args0 }))
.familyId(familyId?.applyValue({ args0 -> args0 }))
.onlyReadLatest(onlyReadLatest?.applyValue({ args0 -> args0 }))
.type(type?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [BigtableColumnFamilyArgs].
*/
@PulumiTagMarker
public class BigtableColumnFamilyArgsBuilder internal constructor() {
private var columns: Output>? = null
private var encoding: Output? = null
private var familyId: Output? = null
private var onlyReadLatest: Output? = null
private var type: Output? = null
/**
* @param value [Optional] Lists of columns that should be exposed as individual fields as opposed to a list of (column name, value) pairs. All columns whose qualifier matches a qualifier in this list can be accessed as .. Other columns can be accessed as a list through .Column field.
*/
@JvmName("wfswxdoojksobwnp")
public suspend fun columns(`value`: Output>) {
this.columns = value
}
@JvmName("asvdmqmckbcuglkp")
public suspend fun columns(vararg values: Output) {
this.columns = Output.all(values.asList())
}
/**
* @param values [Optional] Lists of columns that should be exposed as individual fields as opposed to a list of (column name, value) pairs. All columns whose qualifier matches a qualifier in this list can be accessed as .. Other columns can be accessed as a list through .Column field.
*/
@JvmName("kpcphvhnxwoiveqn")
public suspend fun columns(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy