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

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

package com.pulumi.awsnative.omics.kotlin

import com.pulumi.awsnative.omics.AnnotationStoreArgs.builder
import com.pulumi.awsnative.omics.kotlin.enums.AnnotationStoreStoreFormat
import com.pulumi.awsnative.omics.kotlin.inputs.AnnotationStoreReferenceItemArgs
import com.pulumi.awsnative.omics.kotlin.inputs.AnnotationStoreReferenceItemArgsBuilder
import com.pulumi.awsnative.omics.kotlin.inputs.AnnotationStoreSseConfigArgs
import com.pulumi.awsnative.omics.kotlin.inputs.AnnotationStoreSseConfigArgsBuilder
import com.pulumi.awsnative.omics.kotlin.inputs.AnnotationStoreStoreOptionsPropertiesArgs
import com.pulumi.awsnative.omics.kotlin.inputs.AnnotationStoreStoreOptionsPropertiesArgsBuilder
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::AnnotationStore Resource Type
 * @property description A description for the store.
 * @property name The name of the Annotation Store.
 * @property reference The genome reference for the store's annotations.
 * @property sseConfig The store's server-side encryption (SSE) settings.
 * @property storeFormat The annotation file format of the store.
 * @property storeOptions File parsing options for the annotation store.
 * @property tags Tags for the store.
 */
public data class AnnotationStoreArgs(
    public val description: Output? = null,
    public val name: Output? = null,
    public val reference: Output? = null,
    public val sseConfig: Output? = null,
    public val storeFormat: Output? = null,
    public val storeOptions: Output? = null,
    public val tags: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.omics.AnnotationStoreArgs =
        com.pulumi.awsnative.omics.AnnotationStoreArgs.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() }) }))
            .storeFormat(storeFormat?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .storeOptions(storeOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .tags(
                tags?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            ).build()
}

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

    private var name: Output? = null

    private var reference: Output? = null

    private var sseConfig: Output? = null

    private var storeFormat: Output? = null

    private var storeOptions: Output? = null

    private var tags: Output>? = null

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

    /**
     * @param value The name of the Annotation Store.
     */
    @JvmName("rhevbovsghmxghsr")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

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

    /**
     * @param value The store's server-side encryption (SSE) settings.
     */
    @JvmName("xykcqhoxueytbbma")
    public suspend fun sseConfig(`value`: Output) {
        this.sseConfig = value
    }

    /**
     * @param value The annotation file format of the store.
     */
    @JvmName("ksxtbyeqjhiphvde")
    public suspend fun storeFormat(`value`: Output) {
        this.storeFormat = value
    }

    /**
     * @param value File parsing options for the annotation store.
     */
    @JvmName("favhuspsurgsasea")
    public suspend fun storeOptions(`value`: Output) {
        this.storeOptions = value
    }

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

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

    /**
     * @param value The name of the Annotation Store.
     */
    @JvmName("xnykmmkffgwtavmd")
    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 annotations.
     */
    @JvmName("askqjoycwwqrjtpa")
    public suspend fun reference(`value`: AnnotationStoreReferenceItemArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.reference = mapped
    }

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

    /**
     * @param value The store's server-side encryption (SSE) settings.
     */
    @JvmName("ngbwrpthtmjndpaf")
    public suspend fun sseConfig(`value`: AnnotationStoreSseConfigArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sseConfig = mapped
    }

    /**
     * @param argument The store's server-side encryption (SSE) settings.
     */
    @JvmName("vlpxprkqxgknsggd")
    public suspend fun sseConfig(argument: suspend AnnotationStoreSseConfigArgsBuilder.() -> Unit) {
        val toBeMapped = AnnotationStoreSseConfigArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.sseConfig = mapped
    }

    /**
     * @param value The annotation file format of the store.
     */
    @JvmName("bhajdhpexhelggyu")
    public suspend fun storeFormat(`value`: AnnotationStoreStoreFormat?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.storeFormat = mapped
    }

    /**
     * @param value File parsing options for the annotation store.
     */
    @JvmName("kxfsdipnlevucohp")
    public suspend fun storeOptions(`value`: AnnotationStoreStoreOptionsPropertiesArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.storeOptions = mapped
    }

    /**
     * @param argument File parsing options for the annotation store.
     */
    @JvmName("dkpyxryrhbpwsywf")
    public suspend fun storeOptions(argument: suspend AnnotationStoreStoreOptionsPropertiesArgsBuilder.() -> Unit) {
        val toBeMapped = AnnotationStoreStoreOptionsPropertiesArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.storeOptions = mapped
    }

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

    internal fun build(): AnnotationStoreArgs = AnnotationStoreArgs(
        description = description,
        name = name,
        reference = reference,
        sseConfig = sseConfig,
        storeFormat = storeFormat,
        storeOptions = storeOptions,
        tags = tags,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy