Class CfnPipeline.PipelineTriggerDeclarationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.codepipeline.CfnPipeline.PipelineTriggerDeclarationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipeline.PipelineTriggerDeclarationProperty>
- Enclosing interface:
CfnPipeline.PipelineTriggerDeclarationProperty
@Stability(Stable)
public static final class CfnPipeline.PipelineTriggerDeclarationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipeline.PipelineTriggerDeclarationProperty>
A builder for
CfnPipeline.PipelineTriggerDeclarationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.gitConfiguration
(IResolvable gitConfiguration) Sets the value ofCfnPipeline.PipelineTriggerDeclarationProperty.getGitConfiguration()
gitConfiguration
(CfnPipeline.GitConfigurationProperty gitConfiguration) Sets the value ofCfnPipeline.PipelineTriggerDeclarationProperty.getGitConfiguration()
providerType
(String providerType) Sets the value ofCfnPipeline.PipelineTriggerDeclarationProperty.getProviderType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
providerType
@Stability(Stable) public CfnPipeline.PipelineTriggerDeclarationProperty.Builder providerType(String providerType) Sets the value ofCfnPipeline.PipelineTriggerDeclarationProperty.getProviderType()
- Parameters:
providerType
- The source provider for the event, such as connections configured for a repository with Git tags, for the specified trigger configuration. This parameter is required.- Returns:
this
-
gitConfiguration
@Stability(Stable) public CfnPipeline.PipelineTriggerDeclarationProperty.Builder gitConfiguration(IResolvable gitConfiguration) Sets the value ofCfnPipeline.PipelineTriggerDeclarationProperty.getGitConfiguration()
- Parameters:
gitConfiguration
- Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git tags.- Returns:
this
-
gitConfiguration
@Stability(Stable) public CfnPipeline.PipelineTriggerDeclarationProperty.Builder gitConfiguration(CfnPipeline.GitConfigurationProperty gitConfiguration) Sets the value ofCfnPipeline.PipelineTriggerDeclarationProperty.getGitConfiguration()
- Parameters:
gitConfiguration
- Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git tags.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPipeline.PipelineTriggerDeclarationProperty>
- Returns:
- a new instance of
CfnPipeline.PipelineTriggerDeclarationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-