All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.burkard.cdk.services.opsworks.cfnLayer.VolumeConfigurationProperty.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.opsworks.cfnLayer

@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object VolumeConfigurationProperty {

  def apply(
    size: Option[Number] = None,
    volumeType: Option[String] = None,
    numberOfDisks: Option[Number] = None,
    raidLevel: Option[Number] = None,
    mountPoint: Option[String] = None,
    encrypted: Option[Boolean] = None,
    iops: Option[Number] = None
  ): software.amazon.awscdk.services.opsworks.CfnLayer.VolumeConfigurationProperty =
    (new software.amazon.awscdk.services.opsworks.CfnLayer.VolumeConfigurationProperty.Builder)
      .size(size.orNull)
      .volumeType(volumeType.orNull)
      .numberOfDisks(numberOfDisks.orNull)
      .raidLevel(raidLevel.orNull)
      .mountPoint(mountPoint.orNull)
      .encrypted(encrypted.map(Boolean.box).orNull)
      .iops(iops.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy