Class CfnAccessPoint.Builder

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

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

    • create

      @Stability(Stable) public static CfnAccessPoint.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnAccessPoint.Builder.
    • fileSystemId

      @Stability(Stable) public CfnAccessPoint.Builder fileSystemId(String fileSystemId)
      The ID of the EFS file system that the access point applies to.

      Accepts only the ID format for input when specifying a file system, for example fs-0123456789abcedf2 .

      Parameters:
      fileSystemId - The ID of the EFS file system that the access point applies to. This parameter is required.
      Returns:
      this
    • accessPointTags

      @Stability(Stable) public CfnAccessPoint.Builder accessPointTags(IResolvable accessPointTags)
      An array of key-value pairs to apply to this resource.

      For more information, see Tag .

      Parameters:
      accessPointTags - An array of key-value pairs to apply to this resource. This parameter is required.
      Returns:
      this
    • accessPointTags

      @Stability(Stable) public CfnAccessPoint.Builder accessPointTags(List<? extends Object> accessPointTags)
      An array of key-value pairs to apply to this resource.

      For more information, see Tag .

      Parameters:
      accessPointTags - An array of key-value pairs to apply to this resource. This parameter is required.
      Returns:
      this
    • clientToken

      @Stability(Stable) public CfnAccessPoint.Builder clientToken(String clientToken)
      The opaque string specified in the request to ensure idempotent creation.

      Parameters:
      clientToken - The opaque string specified in the request to ensure idempotent creation. This parameter is required.
      Returns:
      this
    • posixUser

      @Stability(Stable) public CfnAccessPoint.Builder posixUser(IResolvable posixUser)
      The full POSIX identity, including the user ID, group ID, and secondary group IDs on the access point that is used for all file operations by NFS clients using the access point.

      Parameters:
      posixUser - The full POSIX identity, including the user ID, group ID, and secondary group IDs on the access point that is used for all file operations by NFS clients using the access point. This parameter is required.
      Returns:
      this
    • posixUser

      @Stability(Stable) public CfnAccessPoint.Builder posixUser(CfnAccessPoint.PosixUserProperty posixUser)
      The full POSIX identity, including the user ID, group ID, and secondary group IDs on the access point that is used for all file operations by NFS clients using the access point.

      Parameters:
      posixUser - The full POSIX identity, including the user ID, group ID, and secondary group IDs on the access point that is used for all file operations by NFS clients using the access point. This parameter is required.
      Returns:
      this
    • rootDirectory

      @Stability(Stable) public CfnAccessPoint.Builder rootDirectory(IResolvable rootDirectory)
      The directory on the Amazon EFS file system that the access point exposes as the root directory to NFS clients using the access point.

      Parameters:
      rootDirectory - The directory on the Amazon EFS file system that the access point exposes as the root directory to NFS clients using the access point. This parameter is required.
      Returns:
      this
    • rootDirectory

      @Stability(Stable) public CfnAccessPoint.Builder rootDirectory(CfnAccessPoint.RootDirectoryProperty rootDirectory)
      The directory on the Amazon EFS file system that the access point exposes as the root directory to NFS clients using the access point.

      Parameters:
      rootDirectory - The directory on the Amazon EFS file system that the access point exposes as the root directory to NFS clients using the access point. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnAccessPoint build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnAccessPoint>
      Returns:
      a newly built instance of CfnAccessPoint.