Class Acl.Builder
java.lang.Object
software.amazon.awscdk.services.efs.Acl.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<Acl>
- Enclosing interface:
Acl
@Stability(Stable)
public static final class Acl.Builder
extends Object
implements software.amazon.jsii.Builder<Acl>
A builder for
Acl-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofAcl.getOwnerGid()Sets the value ofAcl.getOwnerUid()permissions(String permissions) Sets the value ofAcl.getPermissions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ownerGid
Sets the value ofAcl.getOwnerGid()- Parameters:
ownerGid- Specifies the POSIX group ID to apply to the RootDirectory. This parameter is required. Accepts values from 0 to 2^32 (4294967295).- Returns:
this
-
ownerUid
Sets the value ofAcl.getOwnerUid()- Parameters:
ownerUid- Specifies the POSIX user ID to apply to the RootDirectory. This parameter is required. Accepts values from 0 to 2^32 (4294967295).- Returns:
this
-
permissions
Sets the value ofAcl.getPermissions()- Parameters:
permissions- Specifies the POSIX permissions to apply to the RootDirectory, in the format of an octal number representing the file's mode bits. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<Acl>- Returns:
- a new instance of
Acl - Throws:
NullPointerException- if any required attribute was not provided
-