
com.pulumi.googlenative.analyticshub.v1.kotlin.DataExchangeArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.analyticshub.v1.kotlin
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.analyticshub.v1.DataExchangeArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Creates a new data exchange.
* Auto-naming is currently not supported for this resource.
* @property dataExchangeId Required. The ID of the data exchange. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces. Max length: 100 bytes.
* @property description Optional. Description of the data exchange. The description must not contain Unicode non-characters as well as C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). Default value is an empty string. Max length: 2000 bytes.
* @property displayName Human-readable display name of the data exchange. The display name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), ampersands (&) and must not start or end with spaces. Default value is an empty string. Max length: 63 bytes.
* @property documentation Optional. Documentation describing the data exchange.
* @property icon Optional. Base64 encoded image representing the data exchange. Max Size: 3.0MiB Expected image dimensions are 512x512 pixels, however the API only performs validation on size of the encoded data. Note: For byte fields, the content of the fields are base64-encoded (which increases the size of the data by 33-36%) when using JSON on the wire.
* @property location
* @property primaryContact Optional. Email or URL of the primary point of contact of the data exchange. Max Length: 1000 bytes.
* @property project
*/
public data class DataExchangeArgs(
public val dataExchangeId: Output? = null,
public val description: Output? = null,
public val displayName: Output? = null,
public val documentation: Output? = null,
public val icon: Output? = null,
public val location: Output? = null,
public val primaryContact: Output? = null,
public val project: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.analyticshub.v1.DataExchangeArgs =
com.pulumi.googlenative.analyticshub.v1.DataExchangeArgs.builder()
.dataExchangeId(dataExchangeId?.applyValue({ args0 -> args0 }))
.description(description?.applyValue({ args0 -> args0 }))
.displayName(displayName?.applyValue({ args0 -> args0 }))
.documentation(documentation?.applyValue({ args0 -> args0 }))
.icon(icon?.applyValue({ args0 -> args0 }))
.location(location?.applyValue({ args0 -> args0 }))
.primaryContact(primaryContact?.applyValue({ args0 -> args0 }))
.project(project?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DataExchangeArgs].
*/
@PulumiTagMarker
public class DataExchangeArgsBuilder internal constructor() {
private var dataExchangeId: Output? = null
private var description: Output? = null
private var displayName: Output? = null
private var documentation: Output? = null
private var icon: Output? = null
private var location: Output? = null
private var primaryContact: Output? = null
private var project: Output? = null
/**
* @param value Required. The ID of the data exchange. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces. Max length: 100 bytes.
*/
@JvmName("yrjacrarxvilvrrb")
public suspend fun dataExchangeId(`value`: Output) {
this.dataExchangeId = value
}
/**
* @param value Optional. Description of the data exchange. The description must not contain Unicode non-characters as well as C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). Default value is an empty string. Max length: 2000 bytes.
*/
@JvmName("rhxtgrubffyetqud")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value Human-readable display name of the data exchange. The display name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), ampersands (&) and must not start or end with spaces. Default value is an empty string. Max length: 63 bytes.
*/
@JvmName("gdkagenusddqkwvf")
public suspend fun displayName(`value`: Output) {
this.displayName = value
}
/**
* @param value Optional. Documentation describing the data exchange.
*/
@JvmName("mcwprwbnawemiybk")
public suspend fun documentation(`value`: Output) {
this.documentation = value
}
/**
* @param value Optional. Base64 encoded image representing the data exchange. Max Size: 3.0MiB Expected image dimensions are 512x512 pixels, however the API only performs validation on size of the encoded data. Note: For byte fields, the content of the fields are base64-encoded (which increases the size of the data by 33-36%) when using JSON on the wire.
*/
@JvmName("rukcgyijfvmubqtv")
public suspend fun icon(`value`: Output) {
this.icon = value
}
/**
* @param value
*/
@JvmName("wbmpucvcxkxojifr")
public suspend fun location(`value`: Output) {
this.location = value
}
/**
* @param value Optional. Email or URL of the primary point of contact of the data exchange. Max Length: 1000 bytes.
*/
@JvmName("sydcjvbwlgjpktgu")
public suspend fun primaryContact(`value`: Output) {
this.primaryContact = value
}
/**
* @param value
*/
@JvmName("luxdhohadfsaqxnd")
public suspend fun project(`value`: Output) {
this.project = value
}
/**
* @param value Required. The ID of the data exchange. Must contain only Unicode letters, numbers (0-9), underscores (_). Should not use characters that require URL-escaping, or characters outside of ASCII, spaces. Max length: 100 bytes.
*/
@JvmName("tnjriltqojgfkhhr")
public suspend fun dataExchangeId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.dataExchangeId = mapped
}
/**
* @param value Optional. Description of the data exchange. The description must not contain Unicode non-characters as well as C0 and C1 control codes except tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). Default value is an empty string. Max length: 2000 bytes.
*/
@JvmName("ixmhaonrhkcjbfgs")
public suspend fun description(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.description = mapped
}
/**
* @param value Human-readable display name of the data exchange. The display name must contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( ), ampersands (&) and must not start or end with spaces. Default value is an empty string. Max length: 63 bytes.
*/
@JvmName("uheykwobmbspefek")
public suspend fun displayName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.displayName = mapped
}
/**
* @param value Optional. Documentation describing the data exchange.
*/
@JvmName("fvicmvvbdbkeywqm")
public suspend fun documentation(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.documentation = mapped
}
/**
* @param value Optional. Base64 encoded image representing the data exchange. Max Size: 3.0MiB Expected image dimensions are 512x512 pixels, however the API only performs validation on size of the encoded data. Note: For byte fields, the content of the fields are base64-encoded (which increases the size of the data by 33-36%) when using JSON on the wire.
*/
@JvmName("kworfifsabxdbsto")
public suspend fun icon(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.icon = mapped
}
/**
* @param value
*/
@JvmName("stgtpnbmpyrgupps")
public suspend fun location(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.location = mapped
}
/**
* @param value Optional. Email or URL of the primary point of contact of the data exchange. Max Length: 1000 bytes.
*/
@JvmName("sqjnabpsobnuhxft")
public suspend fun primaryContact(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.primaryContact = mapped
}
/**
* @param value
*/
@JvmName("osnnubiqinvkwtcp")
public suspend fun project(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.project = mapped
}
internal fun build(): DataExchangeArgs = DataExchangeArgs(
dataExchangeId = dataExchangeId,
description = description,
displayName = displayName,
documentation = documentation,
icon = icon,
location = location,
primaryContact = primaryContact,
project = project,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy