io.burkard.cdk.services.s3.cfnBucket.MetricsProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.s3.cfnBucket
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object MetricsProperty {
def apply(
status: String,
eventThreshold: Option[software.amazon.awscdk.services.s3.CfnBucket.ReplicationTimeValueProperty] = None
): software.amazon.awscdk.services.s3.CfnBucket.MetricsProperty =
(new software.amazon.awscdk.services.s3.CfnBucket.MetricsProperty.Builder)
.status(status)
.eventThreshold(eventThreshold.orNull)
.build()
}