com.pulumi.awsnative.finspace.kotlin.EnvironmentArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.finspace.kotlin
import com.pulumi.awsnative.finspace.EnvironmentArgs.builder
import com.pulumi.awsnative.finspace.kotlin.enums.EnvironmentFederationMode
import com.pulumi.awsnative.finspace.kotlin.inputs.EnvironmentFederationParametersArgs
import com.pulumi.awsnative.finspace.kotlin.inputs.EnvironmentFederationParametersArgsBuilder
import com.pulumi.awsnative.finspace.kotlin.inputs.EnvironmentSuperuserParametersArgs
import com.pulumi.awsnative.finspace.kotlin.inputs.EnvironmentSuperuserParametersArgsBuilder
import com.pulumi.awsnative.kotlin.inputs.CreateOnlyTagArgs
import com.pulumi.awsnative.kotlin.inputs.CreateOnlyTagArgsBuilder
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* An example resource schema demonstrating some basic constructs and validation rules.
* ## Example Usage
* ### Example
* No Java example available.
* ### Example
* No Java example available.
* @property dataBundles ARNs of FinSpace Data Bundles to install
* @property description Description of the Environment
* @property federationMode Federation mode used with the Environment
* @property federationParameters Configuration information when authentication mode is FEDERATED.
* @property kmsKeyId KMS key used to encrypt customer data within FinSpace Environment infrastructure
* @property name Name of the Environment
* @property superuserParameters Configuration information for the superuser.
* @property tags An array of key-value pairs to apply to this resource.
*/
public data class EnvironmentArgs(
public val dataBundles: Output>? = null,
public val description: Output? = null,
public val federationMode: Output? = null,
public val federationParameters: Output? = null,
public val kmsKeyId: Output? = null,
public val name: Output? = null,
public val superuserParameters: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.finspace.EnvironmentArgs =
com.pulumi.awsnative.finspace.EnvironmentArgs.builder()
.dataBundles(dataBundles?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.description(description?.applyValue({ args0 -> args0 }))
.federationMode(federationMode?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.federationParameters(
federationParameters?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.kmsKeyId(kmsKeyId?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.superuserParameters(
superuserParameters?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [EnvironmentArgs].
*/
@PulumiTagMarker
public class EnvironmentArgsBuilder internal constructor() {
private var dataBundles: Output>? = null
private var description: Output? = null
private var federationMode: Output? = null
private var federationParameters: Output? = null
private var kmsKeyId: Output? = null
private var name: Output? = null
private var superuserParameters: Output? = null
private var tags: Output>? = null
/**
* @param value ARNs of FinSpace Data Bundles to install
*/
@JvmName("emvshcmqetstsnug")
public suspend fun dataBundles(`value`: Output>) {
this.dataBundles = value
}
@JvmName("baqbubdjhjmqyose")
public suspend fun dataBundles(vararg values: Output) {
this.dataBundles = Output.all(values.asList())
}
/**
* @param values ARNs of FinSpace Data Bundles to install
*/
@JvmName("xhoednjaldlcycms")
public suspend fun dataBundles(values: List