io.burkard.cdk.services.stepfunctions.tasks.S3DataSource.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.stepfunctions.tasks
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object S3DataSource {
def apply(
s3Location: software.amazon.awscdk.services.stepfunctions.tasks.S3Location,
attributeNames: Option[List[String]] = None,
s3DataDistributionType: Option[software.amazon.awscdk.services.stepfunctions.tasks.S3DataDistributionType] = None,
s3DataType: Option[software.amazon.awscdk.services.stepfunctions.tasks.S3DataType] = None
): software.amazon.awscdk.services.stepfunctions.tasks.S3DataSource =
(new software.amazon.awscdk.services.stepfunctions.tasks.S3DataSource.Builder)
.s3Location(s3Location)
.attributeNames(attributeNames.map(_.asJava).orNull)
.s3DataDistributionType(s3DataDistributionType.orNull)
.s3DataType(s3DataType.orNull)
.build()
}