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