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