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