Class CfnPipeline.GitFilePathFilterCriteriaProperty.Builder
java.lang.Object
software.amazon.awscdk.services.codepipeline.CfnPipeline.GitFilePathFilterCriteriaProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipeline.GitFilePathFilterCriteriaProperty>
- Enclosing interface:
CfnPipeline.GitFilePathFilterCriteriaProperty
@Stability(Stable)
public static final class CfnPipeline.GitFilePathFilterCriteriaProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipeline.GitFilePathFilterCriteriaProperty>
A builder for
CfnPipeline.GitFilePathFilterCriteriaProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPipeline.GitFilePathFilterCriteriaProperty.getExcludes()Sets the value ofCfnPipeline.GitFilePathFilterCriteriaProperty.getIncludes()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
excludes
@Stability(Stable) public CfnPipeline.GitFilePathFilterCriteriaProperty.Builder excludes(List<String> excludes) Sets the value ofCfnPipeline.GitFilePathFilterCriteriaProperty.getExcludes()- Parameters:
excludes- The list of patterns of Git repository file paths that, when a commit is pushed, are to be excluded from starting the pipeline.- Returns:
this
-
includes
@Stability(Stable) public CfnPipeline.GitFilePathFilterCriteriaProperty.Builder includes(List<String> includes) Sets the value ofCfnPipeline.GitFilePathFilterCriteriaProperty.getIncludes()- Parameters:
includes- The list of patterns of Git repository file paths that, when a commit is pushed, are to be included as criteria that starts the pipeline.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipeline.GitFilePathFilterCriteriaProperty>- Returns:
- a new instance of
CfnPipeline.GitFilePathFilterCriteriaProperty - Throws:
NullPointerException- if any required attribute was not provided
-