io.burkard.cdk.services.kinesisanalyticsv2.cfnApplicationReferenceDataSource.ReferenceSchemaProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.kinesisanalyticsv2.cfnApplicationReferenceDataSource
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object ReferenceSchemaProperty {
def apply(
recordColumns: List[_],
recordFormat: software.amazon.awscdk.services.kinesisanalyticsv2.CfnApplicationReferenceDataSource.RecordFormatProperty,
recordEncoding: Option[String] = None
): software.amazon.awscdk.services.kinesisanalyticsv2.CfnApplicationReferenceDataSource.ReferenceSchemaProperty =
(new software.amazon.awscdk.services.kinesisanalyticsv2.CfnApplicationReferenceDataSource.ReferenceSchemaProperty.Builder)
.recordColumns(recordColumns.asJava)
.recordFormat(recordFormat)
.recordEncoding(recordEncoding.orNull)
.build()
}