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

com.pulumi.aws.glue.kotlin.inputs.PartitionIndexPartitionIndexArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.glue.kotlin.inputs

import com.pulumi.aws.glue.inputs.PartitionIndexPartitionIndexArgs.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 indexName Name of the partition index.
 * @property indexStatus
 * @property keys Keys for the partition index.
 */
public data class PartitionIndexPartitionIndexArgs(
    public val indexName: Output? = null,
    public val indexStatus: Output? = null,
    public val keys: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.glue.inputs.PartitionIndexPartitionIndexArgs =
        com.pulumi.aws.glue.inputs.PartitionIndexPartitionIndexArgs.builder()
            .indexName(indexName?.applyValue({ args0 -> args0 }))
            .indexStatus(indexStatus?.applyValue({ args0 -> args0 }))
            .keys(keys?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [PartitionIndexPartitionIndexArgs].
 */
@PulumiTagMarker
public class PartitionIndexPartitionIndexArgsBuilder internal constructor() {
    private var indexName: Output? = null

    private var indexStatus: Output? = null

    private var keys: Output>? = null

    /**
     * @param value Name of the partition index.
     */
    @JvmName("qmkguqccbedsktys")
    public suspend fun indexName(`value`: Output) {
        this.indexName = value
    }

    /**
     * @param value
     */
    @JvmName("slbcukyvcixqvrsd")
    public suspend fun indexStatus(`value`: Output) {
        this.indexStatus = value
    }

    /**
     * @param value Keys for the partition index.
     */
    @JvmName("iplxiiwoqwbnshen")
    public suspend fun keys(`value`: Output>) {
        this.keys = value
    }

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

    /**
     * @param values Keys for the partition index.
     */
    @JvmName("atkkmqjchmkbdkyu")
    public suspend fun keys(values: List>) {
        this.keys = Output.all(values)
    }

    /**
     * @param value Name of the partition index.
     */
    @JvmName("xvpdkankmmtfhqsg")
    public suspend fun indexName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.indexName = mapped
    }

    /**
     * @param value
     */
    @JvmName("yhnglcgndtybqrxw")
    public suspend fun indexStatus(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.indexStatus = mapped
    }

    /**
     * @param value Keys for the partition index.
     */
    @JvmName("vispoycqgqffansr")
    public suspend fun keys(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.keys = mapped
    }

    /**
     * @param values Keys for the partition index.
     */
    @JvmName("vqdqknjwvudwhlcn")
    public suspend fun keys(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.keys = mapped
    }

    internal fun build(): PartitionIndexPartitionIndexArgs = PartitionIndexPartitionIndexArgs(
        indexName = indexName,
        indexStatus = indexStatus,
        keys = keys,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy