io.burkard.cdk.services.stepfunctions.tasks.BatchSubmitJobProps.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 BatchSubmitJobProps {
def apply(
jobName: String,
jobQueueArn: String,
jobDefinitionArn: String,
containerOverrides: Option[software.amazon.awscdk.services.stepfunctions.tasks.BatchContainerOverrides] = None,
attempts: Option[Number] = None,
payload: Option[software.amazon.awscdk.services.stepfunctions.TaskInput] = None,
resultPath: Option[String] = None,
arraySize: Option[Number] = None,
integrationPattern: Option[software.amazon.awscdk.services.stepfunctions.IntegrationPattern] = None,
outputPath: Option[String] = None,
dependsOn: Option[List[_ <: software.amazon.awscdk.services.stepfunctions.tasks.BatchJobDependency]] = None,
comment: Option[String] = None,
resultSelector: Option[Map[String, _]] = None,
inputPath: Option[String] = None,
timeout: Option[software.amazon.awscdk.Duration] = None,
heartbeat: Option[software.amazon.awscdk.Duration] = None
): software.amazon.awscdk.services.stepfunctions.tasks.BatchSubmitJobProps =
(new software.amazon.awscdk.services.stepfunctions.tasks.BatchSubmitJobProps.Builder)
.jobName(jobName)
.jobQueueArn(jobQueueArn)
.jobDefinitionArn(jobDefinitionArn)
.containerOverrides(containerOverrides.orNull)
.attempts(attempts.orNull)
.payload(payload.orNull)
.resultPath(resultPath.orNull)
.arraySize(arraySize.orNull)
.integrationPattern(integrationPattern.orNull)
.outputPath(outputPath.orNull)
.dependsOn(dependsOn.map(_.asJava).orNull)
.comment(comment.orNull)
.resultSelector(resultSelector.map(_.asJava).orNull)
.inputPath(inputPath.orNull)
.timeout(timeout.orNull)
.heartbeat(heartbeat.orNull)
.build()
}