Package software.amazon.awscdk
Class FingerprintOptions.Builder
java.lang.Object
software.amazon.awscdk.FingerprintOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<FingerprintOptions>
- Enclosing interface:
- FingerprintOptions
@Stability(Stable)
public static final class FingerprintOptions.Builder
extends Object
implements software.amazon.jsii.Builder<FingerprintOptions>
A builder for
FingerprintOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCopyOptions.getExclude()
Sets the value ofFingerprintOptions.getExtraHash()
follow
(SymlinkFollowMode follow) Sets the value ofCopyOptions.getFollow()
ignoreMode
(IgnoreMode ignoreMode) Sets the value ofCopyOptions.getIgnoreMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
extraHash
Sets the value ofFingerprintOptions.getExtraHash()
- Parameters:
extraHash
- Extra information to encode into the fingerprint (e.g. build instructions and other inputs).- Returns:
this
-
exclude
Sets the value ofCopyOptions.getExclude()
- Parameters:
exclude
- File paths matching the patterns will be excluded. SeeignoreMode
to set the matching behavior. Has no effect on Assets bundled using thebundling
property.- Returns:
this
-
follow
Sets the value ofCopyOptions.getFollow()
- Parameters:
follow
- A strategy for how to handle symlinks.- Returns:
this
-
ignoreMode
Sets the value ofCopyOptions.getIgnoreMode()
- Parameters:
ignoreMode
- The ignore behavior to use forexclude
patterns.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<FingerprintOptions>
- Returns:
- a new instance of
FingerprintOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-