Class AccessPointOptions.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • createAcl

      @Stability(Stable) public AccessPointOptions.Builder createAcl(Acl createAcl)
      Parameters:
      createAcl - Specifies the POSIX IDs and permissions to apply when creating the access point's root directory. If the root directory specified by path does not exist, EFS creates the root directory and applies the permissions specified here. If the specified path does not exist, you must specify createAcl.
      Returns:
      this
    • path

      @Stability(Stable) public AccessPointOptions.Builder path(String path)
      Parameters:
      path - Specifies the path on the EFS file system to expose as the root directory to NFS clients using the access point to access the EFS file system.
      Returns:
      this
    • posixUser

      @Stability(Stable) public AccessPointOptions.Builder posixUser(PosixUser posixUser)
      Parameters:
      posixUser - The full POSIX identity, including the user ID, group ID, and any secondary group IDs, on the access point that is used for all file system operations performed by NFS clients using the access point. Specify this to enforce a user identity using an access point.
      Returns:
      this
    • build

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