Class FileCodeOptions.Builder
java.lang.Object
software.amazon.awscdk.services.cloudfront.FileCodeOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<FileCodeOptions>
- Enclosing interface:
- FileCodeOptions
@Stability(Stable)
public static final class FileCodeOptions.Builder
extends Object
implements software.amazon.jsii.Builder<FileCodeOptions>
A builder for
FileCodeOptions-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofFileCodeOptions.getFilePath()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
filePath
Sets the value ofFileCodeOptions.getFilePath()- Parameters:
filePath- The path of the file to read the code from. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<FileCodeOptions>- Returns:
- a new instance of
FileCodeOptions - Throws:
NullPointerException- if any required attribute was not provided
-