Class TriggerProps.Builder
java.lang.Object
software.amazon.awscdk.services.codepipeline.TriggerProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<TriggerProps>
- Enclosing interface:
TriggerProps
@Stability(Stable)
public static final class TriggerProps.Builder
extends Object
implements software.amazon.jsii.Builder<TriggerProps>
A builder for
TriggerProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.gitConfiguration(GitConfiguration gitConfiguration) Sets the value ofTriggerProps.getGitConfiguration()providerType(ProviderType providerType) Sets the value ofTriggerProps.getProviderType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
providerType
Sets the value ofTriggerProps.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
Sets the value ofTriggerProps.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:
buildin interfacesoftware.amazon.jsii.Builder<TriggerProps>- Returns:
- a new instance of
TriggerProps - Throws:
NullPointerException- if any required attribute was not provided
-