com.pulumi.awsnative.databrew.kotlin.DatasetArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.databrew.kotlin
import com.pulumi.awsnative.databrew.DatasetArgs.builder
import com.pulumi.awsnative.databrew.kotlin.enums.DatasetFormat
import com.pulumi.awsnative.databrew.kotlin.inputs.DatasetFormatOptionsArgs
import com.pulumi.awsnative.databrew.kotlin.inputs.DatasetFormatOptionsArgsBuilder
import com.pulumi.awsnative.databrew.kotlin.inputs.DatasetInputArgs
import com.pulumi.awsnative.databrew.kotlin.inputs.DatasetInputArgsBuilder
import com.pulumi.awsnative.databrew.kotlin.inputs.DatasetPathOptionsArgs
import com.pulumi.awsnative.databrew.kotlin.inputs.DatasetPathOptionsArgsBuilder
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
/**
* Resource schema for AWS::DataBrew::Dataset.
* ## Example Usage
* ### Example
* No Java example available.
* @property format Dataset format
* @property formatOptions Format options for dataset
* @property input Input
* @property name Dataset name
* @property pathOptions PathOptions
* @property tags Metadata tags that have been applied to the dataset.
*/
public data class DatasetArgs(
public val format: Output? = null,
public val formatOptions: Output? = null,
public val input: Output? = null,
public val name: Output? = null,
public val pathOptions: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.databrew.DatasetArgs =
com.pulumi.awsnative.databrew.DatasetArgs.builder()
.format(format?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.formatOptions(formatOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.input(input?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.name(name?.applyValue({ args0 -> args0 }))
.pathOptions(pathOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [DatasetArgs].
*/
@PulumiTagMarker
public class DatasetArgsBuilder internal constructor() {
private var format: Output? = null
private var formatOptions: Output? = null
private var input: Output? = null
private var name: Output? = null
private var pathOptions: Output? = null
private var tags: Output>? = null
/**
* @param value Dataset format
*/
@JvmName("fejavrbcnxfulfns")
public suspend fun format(`value`: Output) {
this.format = value
}
/**
* @param value Format options for dataset
*/
@JvmName("mktlhhhobujeosgc")
public suspend fun formatOptions(`value`: Output) {
this.formatOptions = value
}
/**
* @param value Input
*/
@JvmName("oaepxhvgedhyqajx")
public suspend fun input(`value`: Output) {
this.input = value
}
/**
* @param value Dataset name
*/
@JvmName("pdsnnbvbhhwgfnmn")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value PathOptions
*/
@JvmName("xbjxuxqsbklwnnjh")
public suspend fun pathOptions(`value`: Output) {
this.pathOptions = value
}
/**
* @param value Metadata tags that have been applied to the dataset.
*/
@JvmName("grixavhlflpenudv")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("aiwjmansycipmwft")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values Metadata tags that have been applied to the dataset.
*/
@JvmName("hsuovqjgseibljlm")
public suspend fun tags(values: List