All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.pulumi.azurenative.datafactory.kotlin.inputs.SapOdpResourceDatasetArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.datafactory.kotlin.inputs
import com.pulumi.azurenative.datafactory.inputs.SapOdpResourceDatasetArgs.builder
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 com.pulumi.kotlin.applySuspend
import kotlin.Any
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* SAP ODP Resource properties.
* @property annotations List of tags that can be used for describing the Dataset.
* @property context The context of the SAP ODP Object. Type: string (or Expression with resultType string).
* @property description Dataset description.
* @property folder The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
* @property linkedServiceName Linked service reference.
* @property objectName The name of the SAP ODP Object. Type: string (or Expression with resultType string).
* @property parameters Parameters for dataset.
* @property schema Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
* @property structure Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
* @property type Type of dataset.
* Expected value is 'SapOdpResource'.
*/
public data class SapOdpResourceDatasetArgs(
public val annotations: Output>? = null,
public val context: Output,
public val description: Output? = null,
public val folder: Output? = null,
public val linkedServiceName: Output,
public val objectName: Output,
public val parameters: Output>? = null,
public val schema: Output? = null,
public val structure: Output? = null,
public val type: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.datafactory.inputs.SapOdpResourceDatasetArgs =
com.pulumi.azurenative.datafactory.inputs.SapOdpResourceDatasetArgs.builder()
.annotations(annotations?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.context(context.applyValue({ args0 -> args0 }))
.description(description?.applyValue({ args0 -> args0 }))
.folder(folder?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.linkedServiceName(linkedServiceName.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.objectName(objectName.applyValue({ args0 -> args0 }))
.parameters(
parameters?.applyValue({ args0 ->
args0.map({ args0 ->
args0.key.to(args0.value.let({ args0 -> args0.toJava() }))
}).toMap()
}),
)
.schema(schema?.applyValue({ args0 -> args0 }))
.structure(structure?.applyValue({ args0 -> args0 }))
.type(type.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SapOdpResourceDatasetArgs].
*/
@PulumiTagMarker
public class SapOdpResourceDatasetArgsBuilder internal constructor() {
private var annotations: Output>? = null
private var context: Output? = null
private var description: Output? = null
private var folder: Output? = null
private var linkedServiceName: Output? = null
private var objectName: Output? = null
private var parameters: Output>? = null
private var schema: Output? = null
private var structure: Output? = null
private var type: Output? = null
/**
* @param value List of tags that can be used for describing the Dataset.
*/
@JvmName("hsdmiddeawnhfwts")
public suspend fun annotations(`value`: Output>) {
this.annotations = value
}
@JvmName("gxavafcudmwoprty")
public suspend fun annotations(vararg values: Output) {
this.annotations = Output.all(values.asList())
}
/**
* @param values List of tags that can be used for describing the Dataset.
*/
@JvmName("nqnfmjrurtsmlccd")
public suspend fun annotations(values: List>) {
this.annotations = Output.all(values)
}
/**
* @param value The context of the SAP ODP Object. Type: string (or Expression with resultType string).
*/
@JvmName("luxbuleudnyqiotn")
public suspend fun context(`value`: Output) {
this.context = value
}
/**
* @param value Dataset description.
*/
@JvmName("dvwwwulbqduaqufg")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
*/
@JvmName("kumqcnqcqksedmxj")
public suspend fun folder(`value`: Output) {
this.folder = value
}
/**
* @param value Linked service reference.
*/
@JvmName("ocuxhiggygblashp")
public suspend fun linkedServiceName(`value`: Output) {
this.linkedServiceName = value
}
/**
* @param value The name of the SAP ODP Object. Type: string (or Expression with resultType string).
*/
@JvmName("mircvphmbgdslooo")
public suspend fun objectName(`value`: Output) {
this.objectName = value
}
/**
* @param value Parameters for dataset.
*/
@JvmName("qkujrjsbhjeshell")
public suspend fun parameters(`value`: Output>) {
this.parameters = value
}
/**
* @param value Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
*/
@JvmName("llpxeoylklvjnyna")
public suspend fun schema(`value`: Output) {
this.schema = value
}
/**
* @param value Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
*/
@JvmName("sgcbhxppanccstti")
public suspend fun structure(`value`: Output) {
this.structure = value
}
/**
* @param value Type of dataset.
* Expected value is 'SapOdpResource'.
*/
@JvmName("syruxmfwwtkiwdsi")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value List of tags that can be used for describing the Dataset.
*/
@JvmName("ffeiyxprcfkstqsu")
public suspend fun annotations(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.annotations = mapped
}
/**
* @param values List of tags that can be used for describing the Dataset.
*/
@JvmName("bpyvlevcgapfxeed")
public suspend fun annotations(vararg values: Any) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.annotations = mapped
}
/**
* @param value The context of the SAP ODP Object. Type: string (or Expression with resultType string).
*/
@JvmName("qfrennhtroigxdxs")
public suspend fun context(`value`: Any) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.context = mapped
}
/**
* @param value Dataset description.
*/
@JvmName("vvthrahsxdxdkolh")
public suspend fun description(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.description = mapped
}
/**
* @param value The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
*/
@JvmName("xenhwdblmajagxpc")
public suspend fun folder(`value`: DatasetFolderArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.folder = mapped
}
/**
* @param argument The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
*/
@JvmName("dmopkmwpokfpfkyc")
public suspend fun folder(argument: suspend DatasetFolderArgsBuilder.() -> Unit) {
val toBeMapped = DatasetFolderArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.folder = mapped
}
/**
* @param value Linked service reference.
*/
@JvmName("mxtfdstyygbffnch")
public suspend fun linkedServiceName(`value`: LinkedServiceReferenceArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.linkedServiceName = mapped
}
/**
* @param argument Linked service reference.
*/
@JvmName("bxlubitxswmcbtri")
public suspend fun linkedServiceName(argument: suspend LinkedServiceReferenceArgsBuilder.() -> Unit) {
val toBeMapped = LinkedServiceReferenceArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.linkedServiceName = mapped
}
/**
* @param value The name of the SAP ODP Object. Type: string (or Expression with resultType string).
*/
@JvmName("ohqckedxfkqpgmyi")
public suspend fun objectName(`value`: Any) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.objectName = mapped
}
/**
* @param value Parameters for dataset.
*/
@JvmName("yyebcvlludgfdiga")
public suspend fun parameters(`value`: Map?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.parameters = mapped
}
/**
* @param argument Parameters for dataset.
*/
@JvmName("wudkccypqcnaiisf")
public suspend fun parameters(vararg argument: Pair Unit>) {
val toBeMapped = argument.toList().map { (left, right) ->
left to
ParameterSpecificationArgsBuilder().applySuspend { right() }.build()
}.toMap()
val mapped = of(toBeMapped)
this.parameters = mapped
}
/**
* @param values Parameters for dataset.
*/
@JvmName("sgapipotdmqcncao")
public fun parameters(vararg values: Pair) {
val toBeMapped = values.toMap()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.parameters = mapped
}
/**
* @param value Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
*/
@JvmName("bklnjbjstaidibqf")
public suspend fun schema(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.schema = mapped
}
/**
* @param value Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
*/
@JvmName("qvvnmealjapbsxkn")
public suspend fun structure(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.structure = mapped
}
/**
* @param value Type of dataset.
* Expected value is 'SapOdpResource'.
*/
@JvmName("dfqneivrbvguxuol")
public suspend fun type(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.type = mapped
}
internal fun build(): SapOdpResourceDatasetArgs = SapOdpResourceDatasetArgs(
annotations = annotations,
context = context ?: throw PulumiNullFieldException("context"),
description = description,
folder = folder,
linkedServiceName = linkedServiceName ?: throw PulumiNullFieldException("linkedServiceName"),
objectName = objectName ?: throw PulumiNullFieldException("objectName"),
parameters = parameters,
schema = schema,
structure = structure,
type = type ?: throw PulumiNullFieldException("type"),
)
}