All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.bigtable.kotlin.inputs.AuthorizedViewSubsetViewArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.bigtable.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.bigtable.inputs.AuthorizedViewSubsetViewArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property familySubsets A group of column family subsets to be included in the authorized view. This can be specified multiple times. Structure is documented below.
 * -----
 * @property rowPrefixes A list of Base64-encoded row prefixes to be included in the authorized view. To provide access to all rows, include the empty string as a prefix ("").
 */
public data class AuthorizedViewSubsetViewArgs(
    public val familySubsets: Output>? = null,
    public val rowPrefixes: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.bigtable.inputs.AuthorizedViewSubsetViewArgs =
        com.pulumi.gcp.bigtable.inputs.AuthorizedViewSubsetViewArgs.builder()
            .familySubsets(
                familySubsets?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .rowPrefixes(rowPrefixes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [AuthorizedViewSubsetViewArgs].
 */
@PulumiTagMarker
public class AuthorizedViewSubsetViewArgsBuilder internal constructor() {
    private var familySubsets: Output>? = null

    private var rowPrefixes: Output>? = null

    /**
     * @param value A group of column family subsets to be included in the authorized view. This can be specified multiple times. Structure is documented below.
     * -----
     */
    @JvmName("rxlsbncrbhhwqwsh")
    public suspend fun familySubsets(`value`: Output>) {
        this.familySubsets = value
    }

    @JvmName("mwehpegfecreuvvt")
    public suspend fun familySubsets(vararg values: Output) {
        this.familySubsets = Output.all(values.asList())
    }

    /**
     * @param values A group of column family subsets to be included in the authorized view. This can be specified multiple times. Structure is documented below.
     * -----
     */
    @JvmName("pbauwaxufqombdrr")
    public suspend fun familySubsets(values: List>) {
        this.familySubsets = Output.all(values)
    }

    /**
     * @param value A list of Base64-encoded row prefixes to be included in the authorized view. To provide access to all rows, include the empty string as a prefix ("").
     */
    @JvmName("duolpxpjyosxleom")
    public suspend fun rowPrefixes(`value`: Output>) {
        this.rowPrefixes = value
    }

    @JvmName("osulcdaofwbymyly")
    public suspend fun rowPrefixes(vararg values: Output) {
        this.rowPrefixes = Output.all(values.asList())
    }

    /**
     * @param values A list of Base64-encoded row prefixes to be included in the authorized view. To provide access to all rows, include the empty string as a prefix ("").
     */
    @JvmName("wferntbhbekgnlqa")
    public suspend fun rowPrefixes(values: List>) {
        this.rowPrefixes = Output.all(values)
    }

    /**
     * @param value A group of column family subsets to be included in the authorized view. This can be specified multiple times. Structure is documented below.
     * -----
     */
    @JvmName("ituikqkqxknqhbkt")
    public suspend fun familySubsets(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.familySubsets = mapped
    }

    /**
     * @param argument A group of column family subsets to be included in the authorized view. This can be specified multiple times. Structure is documented below.
     * -----
     */
    @JvmName("nmcrviemebwbapre")
    public suspend fun familySubsets(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            AuthorizedViewSubsetViewFamilySubsetArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.familySubsets = mapped
    }

    /**
     * @param argument A group of column family subsets to be included in the authorized view. This can be specified multiple times. Structure is documented below.
     * -----
     */
    @JvmName("oukdqhfuimiuuneg")
    public suspend fun familySubsets(vararg argument: suspend AuthorizedViewSubsetViewFamilySubsetArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            AuthorizedViewSubsetViewFamilySubsetArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.familySubsets = mapped
    }

    /**
     * @param argument A group of column family subsets to be included in the authorized view. This can be specified multiple times. Structure is documented below.
     * -----
     */
    @JvmName("qyamxjlqmpolocxm")
    public suspend fun familySubsets(argument: suspend AuthorizedViewSubsetViewFamilySubsetArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            AuthorizedViewSubsetViewFamilySubsetArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.familySubsets = mapped
    }

    /**
     * @param values A group of column family subsets to be included in the authorized view. This can be specified multiple times. Structure is documented below.
     * -----
     */
    @JvmName("bmxtyanjsuhskbmb")
    public suspend fun familySubsets(vararg values: AuthorizedViewSubsetViewFamilySubsetArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.familySubsets = mapped
    }

    /**
     * @param value A list of Base64-encoded row prefixes to be included in the authorized view. To provide access to all rows, include the empty string as a prefix ("").
     */
    @JvmName("mcmtuxnkvrwsfmti")
    public suspend fun rowPrefixes(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.rowPrefixes = mapped
    }

    /**
     * @param values A list of Base64-encoded row prefixes to be included in the authorized view. To provide access to all rows, include the empty string as a prefix ("").
     */
    @JvmName("rcecfshwuwwoapcf")
    public suspend fun rowPrefixes(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.rowPrefixes = mapped
    }

    internal fun build(): AuthorizedViewSubsetViewArgs = AuthorizedViewSubsetViewArgs(
        familySubsets = familySubsets,
        rowPrefixes = rowPrefixes,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy