io.burkard.cdk.services.opensearchservice.cfnDomain.EBSOptionsProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.opensearchservice.cfnDomain
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object EBSOptionsProperty {
def apply(
ebsEnabled: Option[Boolean] = None,
volumeSize: Option[Number] = None,
iops: Option[Number] = None,
volumeType: Option[String] = None
): software.amazon.awscdk.services.opensearchservice.CfnDomain.EBSOptionsProperty =
(new software.amazon.awscdk.services.opensearchservice.CfnDomain.EBSOptionsProperty.Builder)
.ebsEnabled(ebsEnabled.map(Boolean.box).orNull)
.volumeSize(volumeSize.orNull)
.iops(iops.orNull)
.volumeType(volumeType.orNull)
.build()
}