Class S3FilesOptions.Builder
java.lang.Object
software.amazon.awscdk.services.lambda.S3FilesOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<S3FilesOptions>
- Enclosing interface:
S3FilesOptions
@Stability(Stable)
public static final class S3FilesOptions.Builder
extends Object
implements software.amazon.jsii.Builder<S3FilesOptions>
A builder for
S3FilesOptions-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.directS3Read(DirectS3Read directS3Read) Sets the value ofS3FilesOptions.getDirectS3Read()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
directS3Read
Sets the value ofS3FilesOptions.getDirectS3Read()- Parameters:
directS3Read- The DirectS3Read configuration for the S3 Files filesystem. UseDirectS3Read.enabled(bucket),DirectS3Read.enabledWithoutGrant(),DirectS3Read.auto(), orDirectS3Read.disabled()to control whether Lambda reads objects directly from S3 instead of through the mount.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<S3FilesOptions>- Returns:
- a new instance of
S3FilesOptions - Throws:
NullPointerException- if any required attribute was not provided
-