Interface FileSystemConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FileSystemConfig.Builder,,FileSystemConfig> SdkBuilder<FileSystemConfig.Builder,,FileSystemConfig> SdkPojo
- Enclosing class:
FileSystemConfig
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the Amazon EFS or Amazon S3 Files access point that provides access to the file system.localMountPath(String localMountPath) The path where the function can access the file system, starting with/mnt/.default FileSystemConfig.Builders3FilesConfig(Consumer<S3FilesConfig.Builder> s3FilesConfig) The configuration for how your function accesses data on an Amazon S3 file system.s3FilesConfig(S3FilesConfig s3FilesConfig) The configuration for how your function accesses data on an Amazon S3 file system.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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
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
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 anInvalidParameterException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
This is a convenience method that creates an instance of theInvalidParameterException.S3FilesConfig.Builderavoiding the need to create one manually viaS3FilesConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3FilesConfig(S3FilesConfig).- Parameters:
s3FilesConfig- a consumer that will call methods onS3FilesConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-