Class Trigger.Builder
java.lang.Object
software.amazon.awscdk.services.codepipeline.Trigger.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<Trigger>
- Enclosing class:
Trigger
@Stability(Stable)
public static final class Trigger.Builder
extends Object
implements software.amazon.jsii.Builder<Trigger>
A fluent builder for
Trigger
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static Trigger.Builder
create()
gitConfiguration
(GitConfiguration gitConfiguration) Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git tags.providerType
(ProviderType providerType) The source provider for the event, such as connections configured for a repository with Git tags, for the specified trigger configuration.
-
Method Details
-
create
- Returns:
- a new instance of
Trigger.Builder
.
-
providerType
The source provider for the event, such as connections configured for a repository with Git tags, for the specified trigger configuration.- 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
Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git tags.Default: - no configuration.
- Parameters:
gitConfiguration
- Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git tags. This parameter is required.- Returns:
this
-
build
-