Package software.amazon.awscdk.core
Class FileFingerprintOptions.Builder
java.lang.Object
software.amazon.awscdk.core.FileFingerprintOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<FileFingerprintOptions>
- Enclosing interface:
FileFingerprintOptions
@Stability(Stable)
public static final class FileFingerprintOptions.Builder
extends Object
implements software.amazon.jsii.Builder<FileFingerprintOptions>
A builder for
FileFingerprintOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofFileCopyOptions.getExclude()
Sets the value ofFileFingerprintOptions.getExtraHash()
followSymlinks
(SymlinkFollowMode followSymlinks) Sets the value ofFileCopyOptions.getFollowSymlinks()
ignoreMode
(IgnoreMode ignoreMode) Sets the value ofFileCopyOptions.getIgnoreMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
extraHash
Sets the value ofFileFingerprintOptions.getExtraHash()
- Parameters:
extraHash
- Extra information to encode into the fingerprint (e.g. build instructions and other inputs).- Returns:
this
-
exclude
Sets the value ofFileCopyOptions.getExclude()
- Parameters:
exclude
- Glob patterns to exclude from the copy.- Returns:
this
-
followSymlinks
@Stability(Stable) public FileFingerprintOptions.Builder followSymlinks(SymlinkFollowMode followSymlinks) Sets the value ofFileCopyOptions.getFollowSymlinks()
- Parameters:
followSymlinks
- A strategy for how to handle symlinks.- Returns:
this
-
ignoreMode
Sets the value ofFileCopyOptions.getIgnoreMode()
- Parameters:
ignoreMode
- The ignore behavior to use for exclude patterns.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<FileFingerprintOptions>
- Returns:
- a new instance of
FileFingerprintOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-