Interface CreateAccessPointRequest.Builder

    • Method Detail

      • clientToken

        CreateAccessPointRequest.Builder clientToken​(String clientToken)

        A string of up to 64 ASCII characters that Amazon EFS uses to ensure idempotent creation.

        Parameters:
        clientToken - A string of up to 64 ASCII characters that Amazon EFS uses to ensure idempotent creation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateAccessPointRequest.Builder tags​(Collection<Tag> tags)

        Creates tags associated with the access point. Each tag is a key-value pair, each key must be unique. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.

        Parameters:
        tags - Creates tags associated with the access point. Each tag is a key-value pair, each key must be unique. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateAccessPointRequest.Builder tags​(Tag... tags)

        Creates tags associated with the access point. Each tag is a key-value pair, each key must be unique. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.

        Parameters:
        tags - Creates tags associated with the access point. Each tag is a key-value pair, each key must be unique. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fileSystemId

        CreateAccessPointRequest.Builder fileSystemId​(String fileSystemId)

        The ID of the EFS file system that the access point provides access to.

        Parameters:
        fileSystemId - The ID of the EFS file system that the access point provides access to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • posixUser

        CreateAccessPointRequest.Builder posixUser​(PosixUser posixUser)

        The operating system user and group applied to all file system requests made using the access point.

        Parameters:
        posixUser - The operating system user and group applied to all file system requests made using the access point.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rootDirectory

        CreateAccessPointRequest.Builder rootDirectory​(RootDirectory rootDirectory)

        Specifies the directory on the EFS file system that the access point exposes as the root directory of your file system to NFS clients using the access point. The clients using the access point can only access the root directory and below. If the RootDirectory > Path specified does not exist, Amazon EFS creates it and applies the CreationInfo settings when a client connects to an access point. When specifying a RootDirectory, you must provide the Path, and the CreationInfo.

        Amazon EFS creates a root directory only if you have provided the CreationInfo: OwnUid, OwnGID, and permissions for the directory. If you do not provide this information, Amazon EFS does not create the root directory. If the root directory does not exist, attempts to mount using the access point will fail.

        Parameters:
        rootDirectory - Specifies the directory on the EFS file system that the access point exposes as the root directory of your file system to NFS clients using the access point. The clients using the access point can only access the root directory and below. If the RootDirectory > Path specified does not exist, Amazon EFS creates it and applies the CreationInfo settings when a client connects to an access point. When specifying a RootDirectory, you must provide the Path, and the CreationInfo.

        Amazon EFS creates a root directory only if you have provided the CreationInfo: OwnUid, OwnGID, and permissions for the directory. If you do not provide this information, Amazon EFS does not create the root directory. If the root directory does not exist, attempts to mount using the access point will fail.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rootDirectory

        default CreateAccessPointRequest.Builder rootDirectory​(Consumer<RootDirectory.Builder> rootDirectory)

        Specifies the directory on the EFS file system that the access point exposes as the root directory of your file system to NFS clients using the access point. The clients using the access point can only access the root directory and below. If the RootDirectory > Path specified does not exist, Amazon EFS creates it and applies the CreationInfo settings when a client connects to an access point. When specifying a RootDirectory, you must provide the Path, and the CreationInfo.

        Amazon EFS creates a root directory only if you have provided the CreationInfo: OwnUid, OwnGID, and permissions for the directory. If you do not provide this information, Amazon EFS does not create the root directory. If the root directory does not exist, attempts to mount using the access point will fail.

        This is a convenience method that creates an instance of the RootDirectory.Builder avoiding the need to create one manually via RootDirectory.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to rootDirectory(RootDirectory).

        Parameters:
        rootDirectory - a consumer that will call methods on RootDirectory.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        rootDirectory(RootDirectory)