io.burkard.cdk.services.msk.cfnCluster.ProvisionedThroughputProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.msk.cfnCluster
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object ProvisionedThroughputProperty {
def apply(
enabled: Option[Boolean] = None,
volumeThroughput: Option[Number] = None
): software.amazon.awscdk.services.msk.CfnCluster.ProvisionedThroughputProperty =
(new software.amazon.awscdk.services.msk.CfnCluster.ProvisionedThroughputProperty.Builder)
.enabled(enabled.map(Boolean.box).orNull)
.volumeThroughput(volumeThroughput.orNull)
.build()
}