io.burkard.cdk.services.efs.CfnAccessPointProps.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.efs
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnAccessPointProps {
def apply(
fileSystemId: String,
clientToken: Option[String] = None,
accessPointTags: Option[List[_]] = None,
rootDirectory: Option[software.amazon.awscdk.services.efs.CfnAccessPoint.RootDirectoryProperty] = None,
posixUser: Option[software.amazon.awscdk.services.efs.CfnAccessPoint.PosixUserProperty] = None
): software.amazon.awscdk.services.efs.CfnAccessPointProps =
(new software.amazon.awscdk.services.efs.CfnAccessPointProps.Builder)
.fileSystemId(fileSystemId)
.clientToken(clientToken.orNull)
.accessPointTags(accessPointTags.map(_.asJava).orNull)
.rootDirectory(rootDirectory.orNull)
.posixUser(posixUser.orNull)
.build()
}