io.burkard.cdk.services.efs.PosixUser.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 PosixUser {
def apply(
uid: String,
gid: String,
secondaryGids: Option[List[String]] = None
): software.amazon.awscdk.services.efs.PosixUser =
(new software.amazon.awscdk.services.efs.PosixUser.Builder)
.uid(uid)
.gid(gid)
.secondaryGids(secondaryGids.map(_.asJava).orNull)
.build()
}