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

    • branchesExcludes

      @Stability(Stable) public GitPushFilter.Builder branchesExcludes(List<String> branchesExcludes)
      Parameters:
      branchesExcludes - The list of patterns of Git branches that, when pull request events occurs, are to be excluded from starting the pipeline. You can filter with glob patterns. The branchesExcludes takes priority over the branchesIncludes.

      Maximum length of this array is 8.

      Returns:
      this
    • branchesIncludes

      @Stability(Stable) public GitPushFilter.Builder branchesIncludes(List<String> branchesIncludes)
      Parameters:
      branchesIncludes - The list of patterns of Git branches that, when pull request events occurs, are to be included as criteria that starts the pipeline. You can filter with glob patterns. The branchesExcludes takes priority over the branchesIncludes.

      Maximum length of this array is 8.

      Returns:
      this
    • filePathsExcludes

      @Stability(Stable) public GitPushFilter.Builder filePathsExcludes(List<String> filePathsExcludes)
      Parameters:
      filePathsExcludes - The list of patterns of Git repository file paths that, when pull request events occurs, are to be excluded from starting the pipeline. You can filter with glob patterns. The filePathsExcludes takes priority over the filePathsIncludes.

      Maximum length of this array is 8.

      Returns:
      this
    • filePathsIncludes

      @Stability(Stable) public GitPushFilter.Builder filePathsIncludes(List<String> filePathsIncludes)
      Parameters:
      filePathsIncludes - The list of patterns of Git repository file paths that, when pull request events occurs, are to be included as criteria that starts the pipeline. You can filter with glob patterns. The filePathsExcludes takes priority over the filePathsIncludes.

      Maximum length of this array is 8.

      Returns:
      this
    • 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