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 Details

    • Builder

      public Builder()
  • Method Details

    • ownerGid

      @Stability(Stable) public Acl.Builder ownerGid(String ownerGid)
      Sets the value of Acl.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

      @Stability(Stable) public Acl.Builder ownerUid(String ownerUid)
      Sets the value of Acl.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

      @Stability(Stable) public Acl.Builder permissions(String permissions)
      Sets the value of Acl.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

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