All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.burkard.cdk.RemovalPolicyOptions.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk

@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object RemovalPolicyOptions {

  def apply(
    defaultValue: Option[software.amazon.awscdk.RemovalPolicy] = None,
    applyToUpdateReplacePolicy: Option[Boolean] = None
  ): software.amazon.awscdk.RemovalPolicyOptions =
    (new software.amazon.awscdk.RemovalPolicyOptions.Builder)
      .defaultValue(defaultValue.orNull)
      .applyToUpdateReplacePolicy(applyToUpdateReplacePolicy.map(Boolean.box).orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy