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