io.burkard.cdk.services.events.ArchiveProps.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.events
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object ArchiveProps {
def apply(
sourceEventBus: software.amazon.awscdk.services.events.IEventBus,
description: Option[String] = None,
retention: Option[software.amazon.awscdk.Duration] = None,
eventPattern: Option[software.amazon.awscdk.services.events.EventPattern] = None,
archiveName: Option[String] = None
): software.amazon.awscdk.services.events.ArchiveProps =
(new software.amazon.awscdk.services.events.ArchiveProps.Builder)
.sourceEventBus(sourceEventBus)
.description(description.orNull)
.retention(retention.orNull)
.eventPattern(eventPattern.orNull)
.archiveName(archiveName.orNull)
.build()
}