Package software.amazon.awscdk.core
Class FileCopyOptions.Builder
java.lang.Object
software.amazon.awscdk.core.FileCopyOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<FileCopyOptions>
- Enclosing interface:
- FileCopyOptions
@Stability(Stable)
public static final class FileCopyOptions.Builder
extends Object
implements software.amazon.jsii.Builder<FileCopyOptions>
A builder for
FileCopyOptions-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofFileCopyOptions.getExclude()followSymlinks(SymlinkFollowMode followSymlinks) Sets the value ofFileCopyOptions.getFollowSymlinks()ignoreMode(IgnoreMode ignoreMode) Sets the value ofFileCopyOptions.getIgnoreMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
exclude
Sets the value ofFileCopyOptions.getExclude()- Parameters:
exclude- Glob patterns to exclude from the copy.- Returns:
this
-
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:
buildin interfacesoftware.amazon.jsii.Builder<FileCopyOptions>- Returns:
- a new instance of
FileCopyOptions - Throws:
NullPointerException- if any required attribute was not provided
-