io.burkard.cdk.services.lookoutmetrics.cfnAnomalyDetector.S3SourceConfigProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.lookoutmetrics.cfnAnomalyDetector
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object S3SourceConfigProperty {
def apply(
roleArn: String,
fileFormatDescriptor: software.amazon.awscdk.services.lookoutmetrics.CfnAnomalyDetector.FileFormatDescriptorProperty,
historicalDataPathList: Option[List[String]] = None,
templatedPathList: Option[List[String]] = None
): software.amazon.awscdk.services.lookoutmetrics.CfnAnomalyDetector.S3SourceConfigProperty =
(new software.amazon.awscdk.services.lookoutmetrics.CfnAnomalyDetector.S3SourceConfigProperty.Builder)
.roleArn(roleArn)
.fileFormatDescriptor(fileFormatDescriptor)
.historicalDataPathList(historicalDataPathList.map(_.asJava).orNull)
.templatedPathList(templatedPathList.map(_.asJava).orNull)
.build()
}