![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.kafkaconnect.kotlin.WorkerConfigurationArgs.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.kafkaconnect.kotlin
import com.pulumi.awsnative.kafkaconnect.WorkerConfigurationArgs.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
/**
* The configuration of the workers, which are the processes that run the connector logic.
* @property description A summary description of the worker configuration.
* @property name The name of the worker configuration.
* @property propertiesFileContent Base64 encoded contents of connect-distributed.properties file.
* @property tags A collection of tags associated with a resource
*/
public data class WorkerConfigurationArgs(
public val description: Output? = null,
public val name: Output? = null,
public val propertiesFileContent: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.kafkaconnect.WorkerConfigurationArgs =
com.pulumi.awsnative.kafkaconnect.WorkerConfigurationArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.propertiesFileContent(propertiesFileContent?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [WorkerConfigurationArgs].
*/
@PulumiTagMarker
public class WorkerConfigurationArgsBuilder internal constructor() {
private var description: Output? = null
private var name: Output? = null
private var propertiesFileContent: Output? = null
private var tags: Output>? = null
/**
* @param value A summary description of the worker configuration.
*/
@JvmName("lcbsxbveacosxjqj")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The name of the worker configuration.
*/
@JvmName("daumqhwpwhitbejp")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Base64 encoded contents of connect-distributed.properties file.
*/
@JvmName("ovvepwwmhwrucojq")
public suspend fun propertiesFileContent(`value`: Output) {
this.propertiesFileContent = value
}
/**
* @param value A collection of tags associated with a resource
*/
@JvmName("dbfdqywowrpxoiwp")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("hrpvwgamquwubmcr")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values A collection of tags associated with a resource
*/
@JvmName("xprymklhdefpcryn")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy