io.burkard.cdk.services.appflow.RedshiftDestinationPropertiesProperty.scala Maven / Gradle / Ivy
package io.burkard.cdk.services.appflow
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object RedshiftDestinationPropertiesProperty {
def apply(
intermediateBucketName: String,
`object`: String,
bucketPrefix: Option[String] = None,
errorHandlingConfig: Option[software.amazon.awscdk.services.appflow.CfnFlow.ErrorHandlingConfigProperty] = None
): software.amazon.awscdk.services.appflow.CfnFlow.RedshiftDestinationPropertiesProperty =
(new software.amazon.awscdk.services.appflow.CfnFlow.RedshiftDestinationPropertiesProperty.Builder)
.intermediateBucketName(intermediateBucketName)
.`object`(`object`)
.bucketPrefix(bucketPrefix.orNull)
.errorHandlingConfig(errorHandlingConfig.orNull)
.build()
}