Class GitPushFilter.Builder
java.lang.Object
software.amazon.awscdk.services.codepipeline.GitPushFilter.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GitPushFilter>
- Enclosing interface:
GitPushFilter
@Stability(Stable)
public static final class GitPushFilter.Builder
extends Object
implements software.amazon.jsii.Builder<GitPushFilter>
A builder for
GitPushFilter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.tagsExcludes
(List<String> tagsExcludes) Sets the value ofGitPushFilter.getTagsExcludes()
tagsIncludes
(List<String> tagsIncludes) Sets the value ofGitPushFilter.getTagsIncludes()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
tagsExcludes
Sets the value ofGitPushFilter.getTagsExcludes()
- Parameters:
tagsExcludes
- The list of patterns of Git tags that, when pushed, are to be excluded from starting the pipeline. You can filter with glob patterns. ThetagsExcludes
takes priority over thetagsIncludes
.Maximum length of this array is 8.
- Returns:
this
-
tagsIncludes
Sets the value ofGitPushFilter.getTagsIncludes()
- Parameters:
tagsIncludes
- The list of patterns of Git tags that, when pushed, are to be included as criteria that starts the pipeline. You can filter with glob patterns. ThetagsExcludes
takes priority over thetagsIncludes
.Maximum length of this array is 8.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<GitPushFilter>
- Returns:
- a new instance of
GitPushFilter
- Throws:
NullPointerException
- if any required attribute was not provided
-