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