io.burkard.cdk.services.kafkaconnect.cfnConnector.S3LogDeliveryProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.kafkaconnect.cfnConnector
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object S3LogDeliveryProperty {
def apply(
enabled: Boolean,
prefix: Option[String] = None,
bucket: Option[String] = None
): software.amazon.awscdk.services.kafkaconnect.CfnConnector.S3LogDeliveryProperty =
(new software.amazon.awscdk.services.kafkaconnect.CfnConnector.S3LogDeliveryProperty.Builder)
.enabled(enabled)
.prefix(prefix.orNull)
.bucket(bucket.orNull)
.build()
}