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

io.burkard.cdk.services.docdb.BackupProps.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.docdb

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

  def apply(
    retention: software.amazon.awscdk.Duration,
    preferredWindow: Option[String] = None
  ): software.amazon.awscdk.services.docdb.BackupProps =
    (new software.amazon.awscdk.services.docdb.BackupProps.Builder)
      .retention(retention)
      .preferredWindow(preferredWindow.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy