Class AccessPointProps.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • fileSystem

      @Stability(Stable) public AccessPointProps.Builder fileSystem(IFileSystem fileSystem)
      Parameters:
      fileSystem - The efs filesystem. This parameter is required.
      Returns:
      this
    • clientToken

      @Stability(Stable) public AccessPointProps.Builder clientToken(String clientToken)
      Parameters:
      clientToken - The opaque string specified in the request to ensure idempotent creation.
      Returns:
      this
    • createAcl

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