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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofPosixUser.getGid()
secondaryGids
(List<String> secondaryGids) Sets the value ofPosixUser.getSecondaryGids()
Sets the value ofPosixUser.getUid()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
gid
Sets the value ofPosixUser.getGid()
- Parameters:
gid
- The POSIX group ID used for all file system operations using this access point. This parameter is required.- Returns:
this
-
uid
Sets the value ofPosixUser.getUid()
- Parameters:
uid
- The POSIX user ID used for all file system operations using this access point. This parameter is required.- Returns:
this
-
secondaryGids
Sets the value ofPosixUser.getSecondaryGids()
- Parameters:
secondaryGids
- Secondary POSIX group IDs used for all file system operations using this access point.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<PosixUser>
- Returns:
- a new instance of
PosixUser
- Throws:
NullPointerException
- if any required attribute was not provided
-