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

io.burkard.cdk.services.lightsail.cfnInstance.DiskProperty.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.lightsail.cfnInstance

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

  def apply(
    path: String,
    diskName: String,
    attachedTo: Option[String] = None,
    attachmentState: Option[String] = None,
    isSystemDisk: Option[Boolean] = None,
    iops: Option[Number] = None,
    sizeInGb: Option[String] = None
  ): software.amazon.awscdk.services.lightsail.CfnInstance.DiskProperty =
    (new software.amazon.awscdk.services.lightsail.CfnInstance.DiskProperty.Builder)
      .path(path)
      .diskName(diskName)
      .attachedTo(attachedTo.orNull)
      .attachmentState(attachmentState.orNull)
      .isSystemDisk(isSystemDisk.map(Boolean.box).orNull)
      .iops(iops.orNull)
      .sizeInGb(sizeInGb.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy