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

com.pulumi.awsnative.omics.kotlin.VariantStoreArgs.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: 1.11.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.omics.kotlin

import com.pulumi.awsnative.omics.VariantStoreArgs.builder
import com.pulumi.awsnative.omics.kotlin.inputs.VariantStoreReferenceItemArgs
import com.pulumi.awsnative.omics.kotlin.inputs.VariantStoreReferenceItemArgsBuilder
import com.pulumi.awsnative.omics.kotlin.inputs.VariantStoreSseConfigArgs
import com.pulumi.awsnative.omics.kotlin.inputs.VariantStoreSseConfigArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 * Definition of AWS::Omics::VariantStore Resource Type
 * @property description A description for the store.
 * @property name A name for the store.
 * @property reference The genome reference for the store's variants.
 * @property sseConfig Server-side encryption (SSE) settings for the store.
 * @property tags Tags for the store.
 */
public data class VariantStoreArgs(
    public val description: Output? = null,
    public val name: Output? = null,
    public val reference: Output? = null,
    public val sseConfig: Output? = null,
    public val tags: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.omics.VariantStoreArgs =
        com.pulumi.awsnative.omics.VariantStoreArgs.builder()
            .description(description?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .reference(reference?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .sseConfig(sseConfig?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .tags(
                tags?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            ).build()
}

/**
 * Builder for [VariantStoreArgs].
 */
@PulumiTagMarker
public class VariantStoreArgsBuilder internal constructor() {
    private var description: Output? = null

    private var name: Output? = null

    private var reference: Output? = null

    private var sseConfig: Output? = null

    private var tags: Output>? = null

    /**
     * @param value A description for the store.
     */
    @JvmName("cvkhhutcajthrpek")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value A name for the store.
     */
    @JvmName("siwnowjmhyvschuu")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The genome reference for the store's variants.
     */
    @JvmName("hqaxbkwiwiajtmmb")
    public suspend fun reference(`value`: Output) {
        this.reference = value
    }

    /**
     * @param value Server-side encryption (SSE) settings for the store.
     */
    @JvmName("bbkyrivkvmeekxgh")
    public suspend fun sseConfig(`value`: Output) {
        this.sseConfig = value
    }

    /**
     * @param value Tags for the store.
     */
    @JvmName("qkmvqslbsqrkwpcv")
    public suspend fun tags(`value`: Output>) {
        this.tags = value
    }

    /**
     * @param value A description for the store.
     */
    @JvmName("akwpedoeuuiwejcd")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value A name for the store.
     */
    @JvmName("xygkhdaoftanlkxf")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value The genome reference for the store's variants.
     */
    @JvmName("jwxqlqrdnglvwujo")
    public suspend fun reference(`value`: VariantStoreReferenceItemArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.reference = mapped
    }

    /**
     * @param argument The genome reference for the store's variants.
     */
    @JvmName("coltteromdpiixxy")
    public suspend fun reference(argument: suspend VariantStoreReferenceItemArgsBuilder.() -> Unit) {
        val toBeMapped = VariantStoreReferenceItemArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.reference = mapped
    }

    /**
     * @param value Server-side encryption (SSE) settings for the store.
     */
    @JvmName("djehcpvkyddvukyt")
    public suspend fun sseConfig(`value`: VariantStoreSseConfigArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sseConfig = mapped
    }

    /**
     * @param argument Server-side encryption (SSE) settings for the store.
     */
    @JvmName("qinbymfipbcubqyu")
    public suspend fun sseConfig(argument: suspend VariantStoreSseConfigArgsBuilder.() -> Unit) {
        val toBeMapped = VariantStoreSseConfigArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.sseConfig = mapped
    }

    /**
     * @param value Tags for the store.
     */
    @JvmName("fgtihbnwogiyhnnu")
    public suspend fun tags(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param values Tags for the store.
     */
    @JvmName("ofowuuhkwxtjiiuj")
    public fun tags(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    internal fun build(): VariantStoreArgs = VariantStoreArgs(
        description = description,
        name = name,
        reference = reference,
        sseConfig = sseConfig,
        tags = tags,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy