![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.omics.kotlin.inputs.ReferenceStoreSseConfigArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.omics.kotlin.inputs
import com.pulumi.awsnative.omics.inputs.ReferenceStoreSseConfigArgs.builder
import com.pulumi.awsnative.omics.kotlin.enums.ReferenceStoreEncryptionType
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Server-side encryption (SSE) settings for a store.
* @property keyArn An encryption key ARN.
* @property type The encryption type.
*/
public data class ReferenceStoreSseConfigArgs(
public val keyArn: Output? = null,
public val type: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.omics.inputs.ReferenceStoreSseConfigArgs =
com.pulumi.awsnative.omics.inputs.ReferenceStoreSseConfigArgs.builder()
.keyArn(keyArn?.applyValue({ args0 -> args0 }))
.type(type.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [ReferenceStoreSseConfigArgs].
*/
@PulumiTagMarker
public class ReferenceStoreSseConfigArgsBuilder internal constructor() {
private var keyArn: Output? = null
private var type: Output? = null
/**
* @param value An encryption key ARN.
*/
@JvmName("hmfckiaemiqkmweo")
public suspend fun keyArn(`value`: Output) {
this.keyArn = value
}
/**
* @param value The encryption type.
*/
@JvmName("cgwfnqbimxwqgivp")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value An encryption key ARN.
*/
@JvmName("mdoulmevbqlxpydb")
public suspend fun keyArn(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.keyArn = mapped
}
/**
* @param value The encryption type.
*/
@JvmName("dvflgeqempojukba")
public suspend fun type(`value`: ReferenceStoreEncryptionType) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.type = mapped
}
internal fun build(): ReferenceStoreSseConfigArgs = ReferenceStoreSseConfigArgs(
keyArn = keyArn,
type = type ?: throw PulumiNullFieldException("type"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy