![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.refactorspaces.kotlin.EnvironmentArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.refactorspaces.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.refactorspaces.EnvironmentArgs.builder
import com.pulumi.awsnative.refactorspaces.kotlin.enums.EnvironmentNetworkFabricType
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
/**
* Definition of AWS::RefactorSpaces::Environment Resource Type
* @property description A description of the environment.
* @property name The name of the environment.
* @property networkFabricType The network fabric type of the environment.
* @property tags Metadata that you can assign to help organize the frameworks that you create. Each tag is a key-value pair.
*/
public data class EnvironmentArgs(
public val description: Output? = null,
public val name: Output? = null,
public val networkFabricType: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.refactorspaces.EnvironmentArgs =
com.pulumi.awsnative.refactorspaces.EnvironmentArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.networkFabricType(networkFabricType?.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 description: Output? = null
private var name: Output? = null
private var networkFabricType: Output? = null
private var tags: Output>? = null
/**
* @param value A description of the environment.
*/
@JvmName("rqvgstbemwubmxkn")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The name of the environment.
*/
@JvmName("dlaljrgaiibmulbd")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The network fabric type of the environment.
*/
@JvmName("irtnfpohrlodqwkm")
public suspend fun networkFabricType(`value`: Output) {
this.networkFabricType = value
}
/**
* @param value Metadata that you can assign to help organize the frameworks that you create. Each tag is a key-value pair.
*/
@JvmName("drawhtwaaitprriy")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("qnjbtqgmqvxiuqfg")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values Metadata that you can assign to help organize the frameworks that you create. Each tag is a key-value pair.
*/
@JvmName("idxoqvhmtfjrnqaw")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy