Class PosixUser.Builder

java.lang.Object
software.amazon.awscdk.services.efs.PosixUser.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<PosixUser>
Enclosing interface:
PosixUser

@Stability(Stable) public static final class PosixUser.Builder extends Object implements software.amazon.jsii.Builder<PosixUser>
A builder for PosixUser
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • gid

      @Stability(Stable) public PosixUser.Builder gid(String gid)
      Sets the value of PosixUser.getGid()
      Parameters:
      gid - The POSIX group ID used for all file system operations using this access point. This parameter is required.
      Returns:
      this
    • uid

      @Stability(Stable) public PosixUser.Builder uid(String uid)
      Sets the value of PosixUser.getUid()
      Parameters:
      uid - The POSIX user ID used for all file system operations using this access point. This parameter is required.
      Returns:
      this
    • secondaryGids

      @Stability(Stable) public PosixUser.Builder secondaryGids(List<String> secondaryGids)
      Parameters:
      secondaryGids - Secondary POSIX group IDs used for all file system operations using this access point.
      Returns:
      this
    • build

      @Stability(Stable) public PosixUser build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<PosixUser>
      Returns:
      a new instance of PosixUser
      Throws:
      NullPointerException - if any required attribute was not provided