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 Details

    • create

      @Stability(Stable) public static Trigger.Builder create()
      Returns:
      a new instance of Trigger.Builder.
    • providerType

      @Stability(Stable) public Trigger.Builder providerType(ProviderType 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

      @Stability(Stable) public Trigger.Builder gitConfiguration(GitConfiguration 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

      @Stability(Stable) public Trigger build()
      Specified by:
      build in interface software.amazon.jsii.Builder<Trigger>
      Returns:
      a newly built instance of Trigger.