Class CfnPipelinePropsMixin.GitConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.codepipeline.CfnPipelinePropsMixin.GitConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipelinePropsMixin.GitConfigurationProperty>
- Enclosing interface:
CfnPipelinePropsMixin.GitConfigurationProperty
@Stability(Stable)
public static final class CfnPipelinePropsMixin.GitConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipelinePropsMixin.GitConfigurationProperty>
A builder for
CfnPipelinePropsMixin.GitConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.pullRequest(List<? extends Object> pullRequest) Sets the value ofCfnPipelinePropsMixin.GitConfigurationProperty.getPullRequest()pullRequest(IResolvable pullRequest) Sets the value ofCfnPipelinePropsMixin.GitConfigurationProperty.getPullRequest()Sets the value ofCfnPipelinePropsMixin.GitConfigurationProperty.getPush()push(IResolvable push) Sets the value ofCfnPipelinePropsMixin.GitConfigurationProperty.getPush()sourceActionName(String sourceActionName) Sets the value ofCfnPipelinePropsMixin.GitConfigurationProperty.getSourceActionName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
pullRequest
@Stability(Stable) public CfnPipelinePropsMixin.GitConfigurationProperty.Builder pullRequest(IResolvable pullRequest) Sets the value ofCfnPipelinePropsMixin.GitConfigurationProperty.getPullRequest()- Parameters:
pullRequest- The field where the repository event that will start the pipeline is specified as pull requests.- Returns:
this
-
pullRequest
@Stability(Stable) public CfnPipelinePropsMixin.GitConfigurationProperty.Builder pullRequest(List<? extends Object> pullRequest) Sets the value ofCfnPipelinePropsMixin.GitConfigurationProperty.getPullRequest()- Parameters:
pullRequest- The field where the repository event that will start the pipeline is specified as pull requests.- Returns:
this
-
push
@Stability(Stable) public CfnPipelinePropsMixin.GitConfigurationProperty.Builder push(IResolvable push) Sets the value ofCfnPipelinePropsMixin.GitConfigurationProperty.getPush()- Parameters:
push- The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.- Returns:
this
-
push
@Stability(Stable) public CfnPipelinePropsMixin.GitConfigurationProperty.Builder push(List<? extends Object> push) Sets the value ofCfnPipelinePropsMixin.GitConfigurationProperty.getPush()- Parameters:
push- The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.- Returns:
this
-
sourceActionName
@Stability(Stable) public CfnPipelinePropsMixin.GitConfigurationProperty.Builder sourceActionName(String sourceActionName) Sets the value ofCfnPipelinePropsMixin.GitConfigurationProperty.getSourceActionName()- Parameters:
sourceActionName- The name of the pipeline source action where the trigger configuration, such as Git tags, is specified. The trigger configuration will start the pipeline upon the specified change only.You can only specify one trigger configuration per source action.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipelinePropsMixin.GitConfigurationProperty>- Returns:
- a new instance of
CfnPipelinePropsMixin.GitConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-