Interface CreateAccessPointRequest.Builder

  • Method Details

    • 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

      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

      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

      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.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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.
    • posixUser

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

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

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

      Parameters:
      posixUser - a consumer that will call methods on PosixUser.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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:
    • overrideConfiguration

      CreateAccessPointRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.