Package software.amazon.awscdk.pipelines
Class FileSetLocation.Builder
java.lang.Object
software.amazon.awscdk.pipelines.FileSetLocation.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<FileSetLocation>
- Enclosing interface:
FileSetLocation
@Stability(Stable)
public static final class FileSetLocation.Builder
extends Object
implements software.amazon.jsii.Builder<FileSetLocation>
A builder for
FileSetLocation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofFileSetLocation.getDirectory()
Sets the value ofFileSetLocation.getFileSet()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
directory
Sets the value ofFileSetLocation.getDirectory()
- Parameters:
directory
- The (relative) directory where the FileSet is found. This parameter is required.- Returns:
this
-
fileSet
Sets the value ofFileSetLocation.getFileSet()
- Parameters:
fileSet
- The FileSet object. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<FileSetLocation>
- Returns:
- a new instance of
FileSetLocation
- Throws:
NullPointerException
- if any required attribute was not provided
-