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

com.pulumi.awsnative.omics.kotlin.SequenceStoreArgs.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.SequenceStoreArgs.builder
import com.pulumi.awsnative.omics.kotlin.inputs.SequenceStoreSseConfigArgs
import com.pulumi.awsnative.omics.kotlin.inputs.SequenceStoreSseConfigArgsBuilder
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::SequenceStore Resource Type
 * @property description A description for the store.
 * @property fallbackLocation An S3 URI representing the bucket and folder to store failed read set uploads.
 * @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 SequenceStoreArgs(
    public val description: Output? = null,
    public val fallbackLocation: 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.SequenceStoreArgs =
        com.pulumi.awsnative.omics.SequenceStoreArgs.builder()
            .description(description?.applyValue({ args0 -> args0 }))
            .fallbackLocation(fallbackLocation?.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 [SequenceStoreArgs].
 */
@PulumiTagMarker
public class SequenceStoreArgsBuilder internal constructor() {
    private var description: Output? = null

    private var fallbackLocation: 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("csuxxbrgwafxxbby")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value An S3 URI representing the bucket and folder to store failed read set uploads.
     */
    @JvmName("htgwmsiuxbvansjq")
    public suspend fun fallbackLocation(`value`: Output) {
        this.fallbackLocation = value
    }

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

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

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

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

    /**
     * @param value An S3 URI representing the bucket and folder to store failed read set uploads.
     */
    @JvmName("wjpucrbfgsksasle")
    public suspend fun fallbackLocation(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.fallbackLocation = mapped
    }

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

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy