Class CfnPipeline.GitPushFilterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.codepipeline.CfnPipeline.GitPushFilterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipeline.GitPushFilterProperty>
- Enclosing interface:
CfnPipeline.GitPushFilterProperty
@Stability(Stable)
public static final class CfnPipeline.GitPushFilterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipeline.GitPushFilterProperty>
A builder for
CfnPipeline.GitPushFilterProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbranches(IResolvable branches) Sets the value ofCfnPipeline.GitPushFilterProperty.getBranches()Sets the value ofCfnPipeline.GitPushFilterProperty.getBranches()build()Builds the configured instance.filePaths(IResolvable filePaths) Sets the value ofCfnPipeline.GitPushFilterProperty.getFilePaths()Sets the value ofCfnPipeline.GitPushFilterProperty.getFilePaths()Sets the value ofCfnPipeline.GitPushFilterProperty.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
branches
Sets the value ofCfnPipeline.GitPushFilterProperty.getBranches()- Parameters:
branches- The field that specifies to filter on branches for the push trigger configuration.- Returns:
this
-
branches
@Stability(Stable) public CfnPipeline.GitPushFilterProperty.Builder branches(CfnPipeline.GitBranchFilterCriteriaProperty branches) Sets the value ofCfnPipeline.GitPushFilterProperty.getBranches()- Parameters:
branches- The field that specifies to filter on branches for the push trigger configuration.- Returns:
this
-
filePaths
@Stability(Stable) public CfnPipeline.GitPushFilterProperty.Builder filePaths(IResolvable filePaths) Sets the value ofCfnPipeline.GitPushFilterProperty.getFilePaths()- Parameters:
filePaths- The field that specifies to filter on file paths for the push trigger configuration.- Returns:
this
-
filePaths
@Stability(Stable) public CfnPipeline.GitPushFilterProperty.Builder filePaths(CfnPipeline.GitFilePathFilterCriteriaProperty filePaths) Sets the value ofCfnPipeline.GitPushFilterProperty.getFilePaths()- Parameters:
filePaths- The field that specifies to filter on file paths for the push trigger configuration.- Returns:
this
-
tags
@Stability(Stable) public CfnPipeline.GitPushFilterProperty.Builder tags(CfnPipeline.GitTagFilterCriteriaProperty tags) Sets the value ofCfnPipeline.GitPushFilterProperty.getTags()- Parameters:
tags- The field that contains the details for the Git tags trigger configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipeline.GitPushFilterProperty>- Returns:
- a new instance of
CfnPipeline.GitPushFilterProperty - Throws:
NullPointerException- if any required attribute was not provided
-