io.burkard.cdk.services.fsx.CfnFileSystemProps.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.fsx
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnFileSystemProps {
def apply(
subnetIds: List[String],
fileSystemType: String,
ontapConfiguration: Option[software.amazon.awscdk.services.fsx.CfnFileSystem.OntapConfigurationProperty] = None,
openZfsConfiguration: Option[software.amazon.awscdk.services.fsx.CfnFileSystem.OpenZFSConfigurationProperty] = None,
fileSystemTypeVersion: Option[String] = None,
tags: Option[List[_ <: software.amazon.awscdk.CfnTag]] = None,
securityGroupIds: Option[List[String]] = None,
backupId: Option[String] = None,
storageType: Option[String] = None,
lustreConfiguration: Option[software.amazon.awscdk.services.fsx.CfnFileSystem.LustreConfigurationProperty] = None,
windowsConfiguration: Option[software.amazon.awscdk.services.fsx.CfnFileSystem.WindowsConfigurationProperty] = None,
storageCapacity: Option[Number] = None,
kmsKeyId: Option[String] = None
): software.amazon.awscdk.services.fsx.CfnFileSystemProps =
(new software.amazon.awscdk.services.fsx.CfnFileSystemProps.Builder)
.subnetIds(subnetIds.asJava)
.fileSystemType(fileSystemType)
.ontapConfiguration(ontapConfiguration.orNull)
.openZfsConfiguration(openZfsConfiguration.orNull)
.fileSystemTypeVersion(fileSystemTypeVersion.orNull)
.tags(tags.map(_.asJava).orNull)
.securityGroupIds(securityGroupIds.map(_.asJava).orNull)
.backupId(backupId.orNull)
.storageType(storageType.orNull)
.lustreConfiguration(lustreConfiguration.orNull)
.windowsConfiguration(windowsConfiguration.orNull)
.storageCapacity(storageCapacity.orNull)
.kmsKeyId(kmsKeyId.orNull)
.build()
}