Interface FileSystemConfig.Builder

  • Method Details

    • arn

      The Amazon Resource Name (ARN) of the Amazon EFS or Amazon S3 Files access point that provides access to the file system.

      Parameters:
      arn - The Amazon Resource Name (ARN) of the Amazon EFS or Amazon S3 Files access point that provides access to the file system.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • localMountPath

      FileSystemConfig.Builder localMountPath(String localMountPath)

      The path where the function can access the file system, starting with /mnt/.

      Parameters:
      localMountPath - The path where the function can access the file system, starting with /mnt/.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3FilesConfig

      FileSystemConfig.Builder s3FilesConfig(S3FilesConfig s3FilesConfig)

      The configuration for how your function accesses data on an Amazon S3 file system. Valid only when the file system access point ARN is an Amazon S3 Files access point. If you specify a different access point type (for example, Amazon Elastic File System), the operation returns an InvalidParameterException.

      Parameters:
      s3FilesConfig - The configuration for how your function accesses data on an Amazon S3 file system. Valid only when the file system access point ARN is an Amazon S3 Files access point. If you specify a different access point type (for example, Amazon Elastic File System), the operation returns an InvalidParameterException.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3FilesConfig

      default FileSystemConfig.Builder s3FilesConfig(Consumer<S3FilesConfig.Builder> s3FilesConfig)

      The configuration for how your function accesses data on an Amazon S3 file system. Valid only when the file system access point ARN is an Amazon S3 Files access point. If you specify a different access point type (for example, Amazon Elastic File System), the operation returns an InvalidParameterException.

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

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

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