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

com.pulumi.awsnative.omics.kotlin.ReferenceStoreArgs.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.ReferenceStoreArgs.builder
import com.pulumi.awsnative.omics.kotlin.inputs.ReferenceStoreSseConfigArgs
import com.pulumi.awsnative.omics.kotlin.inputs.ReferenceStoreSseConfigArgsBuilder
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::ReferenceStore Resource Type
 * @property description A description for the store.
 * @property name A name for the store.
 * @property sseConfig Server-side encryption (SSE) settings for the store.
 * @property tags Tags for the store.
 */
public data class ReferenceStoreArgs(
    public val description: Output? = null,
    public val name: Output? = null,
    public val sseConfig: Output? = null,
    public val tags: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.omics.ReferenceStoreArgs =
        com.pulumi.awsnative.omics.ReferenceStoreArgs.builder()
            .description(description?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .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 [ReferenceStoreArgs].
 */
@PulumiTagMarker
public class ReferenceStoreArgsBuilder internal constructor() {
    private var description: Output? = null

    private var name: Output? = null

    private var sseConfig: Output? = null

    private var tags: Output>? = null

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

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

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

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

    /**
     * @param value A description for the store.
     */
    @JvmName("gufxqiwydqepvfas")
    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("cvnxneoinipuugks")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

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

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

    /**
     * @param value Tags for the store.
     */
    @JvmName("yrxtissoaaruhnup")
    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("nvjplwfvpanwjdms")
    public fun tags(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tags = mapped
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy