
com.pulumi.awsnative.pipes.kotlin.inputs.PipeSourceSelfManagedKafkaParametersArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.pipes.kotlin.inputs
import com.pulumi.awsnative.pipes.inputs.PipeSourceSelfManagedKafkaParametersArgs.builder
import com.pulumi.awsnative.pipes.kotlin.enums.PipeSelfManagedKafkaStartPosition
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.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property additionalBootstrapServers An array of server URLs.
* @property batchSize The maximum number of records to include in each batch.
* @property consumerGroupId The name of the destination queue to consume.
* @property credentials The credentials needed to access the resource.
* @property maximumBatchingWindowInSeconds The maximum length of a time to wait for events.
* @property serverRootCaCertificate Optional SecretManager ARN which stores the database credentials
* @property startingPosition (Streams only) The position in a stream from which to start reading.
* @property topicName The name of the topic that the pipe will read from.
* @property vpc This structure specifies the VPC subnets and security groups for the stream, and whether a public IP address is to be used.
*/
public data class PipeSourceSelfManagedKafkaParametersArgs(
public val additionalBootstrapServers: Output>? = null,
public val batchSize: Output? = null,
public val consumerGroupId: Output? = null,
public val credentials: Output? = null,
public val maximumBatchingWindowInSeconds: Output? = null,
public val serverRootCaCertificate: Output? = null,
public val startingPosition: Output? = null,
public val topicName: Output,
public val vpc: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.pipes.inputs.PipeSourceSelfManagedKafkaParametersArgs = com.pulumi.awsnative.pipes.inputs.PipeSourceSelfManagedKafkaParametersArgs.builder()
.additionalBootstrapServers(
additionalBootstrapServers?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
)
.batchSize(batchSize?.applyValue({ args0 -> args0 }))
.consumerGroupId(consumerGroupId?.applyValue({ args0 -> args0 }))
.credentials(credentials?.applyValue({ args0 -> args0 }))
.maximumBatchingWindowInSeconds(maximumBatchingWindowInSeconds?.applyValue({ args0 -> args0 }))
.serverRootCaCertificate(serverRootCaCertificate?.applyValue({ args0 -> args0 }))
.startingPosition(startingPosition?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.topicName(topicName.applyValue({ args0 -> args0 }))
.vpc(vpc?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [PipeSourceSelfManagedKafkaParametersArgs].
*/
@PulumiTagMarker
public class PipeSourceSelfManagedKafkaParametersArgsBuilder internal constructor() {
private var additionalBootstrapServers: Output>? = null
private var batchSize: Output? = null
private var consumerGroupId: Output? = null
private var credentials: Output? = null
private var maximumBatchingWindowInSeconds: Output? = null
private var serverRootCaCertificate: Output? = null
private var startingPosition: Output? = null
private var topicName: Output? = null
private var vpc: Output? = null
/**
* @param value An array of server URLs.
*/
@JvmName("lrynkkfyywjmukee")
public suspend fun additionalBootstrapServers(`value`: Output>) {
this.additionalBootstrapServers = value
}
@JvmName("ijsxjksjgpqvymaf")
public suspend fun additionalBootstrapServers(vararg values: Output) {
this.additionalBootstrapServers = Output.all(values.asList())
}
/**
* @param values An array of server URLs.
*/
@JvmName("hmurcjkaeennunbx")
public suspend fun additionalBootstrapServers(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy