io.burkard.cdk.services.emr.cfnInstanceFleetConfig.EbsConfigurationProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.emr.cfnInstanceFleetConfig
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object EbsConfigurationProperty {
def apply(
ebsOptimized: Option[Boolean] = None,
ebsBlockDeviceConfigs: Option[List[_]] = None
): software.amazon.awscdk.services.emr.CfnInstanceFleetConfig.EbsConfigurationProperty =
(new software.amazon.awscdk.services.emr.CfnInstanceFleetConfig.EbsConfigurationProperty.Builder)
.ebsOptimized(ebsOptimized.map(Boolean.box).orNull)
.ebsBlockDeviceConfigs(ebsBlockDeviceConfigs.map(_.asJava).orNull)
.build()
}