Class GitPushFilter.Builder

java.lang.Object
software.amazon.awscdk.services.codepipeline.GitPushFilter.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<GitPushFilter>
Enclosing interface:
GitPushFilter

@Stability(Stable) public static final class GitPushFilter.Builder extends Object implements software.amazon.jsii.Builder<GitPushFilter>
A builder for GitPushFilter
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • tagsExcludes

      @Stability(Stable) public GitPushFilter.Builder tagsExcludes(List<String> tagsExcludes)
      Parameters:
      tagsExcludes - The list of patterns of Git tags that, when pushed, are to be excluded from starting the pipeline. You can filter with glob patterns. The tagsExcludes takes priority over the tagsIncludes.

      Maximum length of this array is 8.

      Returns:
      this
    • tagsIncludes

      @Stability(Stable) public GitPushFilter.Builder tagsIncludes(List<String> tagsIncludes)
      Parameters:
      tagsIncludes - The list of patterns of Git tags that, when pushed, are to be included as criteria that starts the pipeline. You can filter with glob patterns. The tagsExcludes takes priority over the tagsIncludes.

      Maximum length of this array is 8.

      Returns:
      this
    • build

      @Stability(Stable) public GitPushFilter build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<GitPushFilter>
      Returns:
      a new instance of GitPushFilter
      Throws:
      NullPointerException - if any required attribute was not provided