io.burkard.cdk.services.stepfunctions.tasks.ModelClientOptions.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.stepfunctions.tasks
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object ModelClientOptions {
def apply(
invocationsTimeout: Option[software.amazon.awscdk.Duration] = None,
invocationsMaxRetries: Option[Number] = None
): software.amazon.awscdk.services.stepfunctions.tasks.ModelClientOptions =
(new software.amazon.awscdk.services.stepfunctions.tasks.ModelClientOptions.Builder)
.invocationsTimeout(invocationsTimeout.orNull)
.invocationsMaxRetries(invocationsMaxRetries.orNull)
.build()
}