io.burkard.cdk.services.stepfunctions.SingleStateOptions.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.stepfunctions
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object SingleStateOptions {
def apply(
stateId: Option[String] = None,
resultPath: Option[String] = None,
prefixStates: Option[String] = None,
outputPath: Option[String] = None,
comment: Option[String] = None,
resultSelector: Option[Map[String, _]] = None,
inputPath: Option[String] = None
): software.amazon.awscdk.services.stepfunctions.SingleStateOptions =
(new software.amazon.awscdk.services.stepfunctions.SingleStateOptions.Builder)
.stateId(stateId.orNull)
.resultPath(resultPath.orNull)
.prefixStates(prefixStates.orNull)
.outputPath(outputPath.orNull)
.comment(comment.orNull)
.resultSelector(resultSelector.map(_.asJava).orNull)
.inputPath(inputPath.orNull)
.build()
}