com.pulumi.awsnative.deadline.kotlin.FarmArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.deadline.kotlin
import com.pulumi.awsnative.deadline.FarmArgs.builder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
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::Deadline::Farm Resource Type
* @property description A description of the farm that helps identify what the farm is used for.
* @property displayName The display name of the farm.
* > This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
* @property kmsKeyArn The ARN for the KMS key.
* @property tags An array of key-value pairs to apply to this resource.
*/
public data class FarmArgs(
public val description: Output? = null,
public val displayName: Output? = null,
public val kmsKeyArn: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.deadline.FarmArgs =
com.pulumi.awsnative.deadline.FarmArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.displayName(displayName?.applyValue({ args0 -> args0 }))
.kmsKeyArn(kmsKeyArn?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [FarmArgs].
*/
@PulumiTagMarker
public class FarmArgsBuilder internal constructor() {
private var description: Output? = null
private var displayName: Output? = null
private var kmsKeyArn: Output? = null
private var tags: Output>? = null
/**
* @param value A description of the farm that helps identify what the farm is used for.
*/
@JvmName("mdxxgmlekfhgueor")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The display name of the farm.
* > This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
*/
@JvmName("wcbdvmoewfnmrfne")
public suspend fun displayName(`value`: Output) {
this.displayName = value
}
/**
* @param value The ARN for the KMS key.
*/
@JvmName("tjsaiiudkqkalrbg")
public suspend fun kmsKeyArn(`value`: Output) {
this.kmsKeyArn = value
}
/**
* @param value An array of key-value pairs to apply to this resource.
*/
@JvmName("kwevpengxvtblmwi")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("mrlctvkgqnqwpfjk")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values An array of key-value pairs to apply to this resource.
*/
@JvmName("kwaxgkbmbjciwrqw")
public suspend fun tags(values: List