Interface GitPullRequestFilter.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GitPullRequestFilter.Builder,
,GitPullRequestFilter> SdkBuilder<GitPullRequestFilter.Builder,
,GitPullRequestFilter> SdkPojo
- Enclosing class:
GitPullRequestFilter
-
Method Summary
Modifier and TypeMethodDescriptiondefault GitPullRequestFilter.Builder
branches
(Consumer<GitBranchFilterCriteria.Builder> branches) The field that specifies to filter on branches for the pull request trigger configuration.branches
(GitBranchFilterCriteria branches) The field that specifies to filter on branches for the pull request trigger configuration.events
(Collection<GitPullRequestEventType> events) The field that specifies which pull request events to filter on (opened, updated, closed) for the trigger configuration.events
(GitPullRequestEventType... events) The field that specifies which pull request events to filter on (opened, updated, closed) for the trigger configuration.eventsWithStrings
(String... events) The field that specifies which pull request events to filter on (opened, updated, closed) for the trigger configuration.eventsWithStrings
(Collection<String> events) The field that specifies which pull request events to filter on (opened, updated, closed) for the trigger configuration.default GitPullRequestFilter.Builder
filePaths
(Consumer<GitFilePathFilterCriteria.Builder> filePaths) The field that specifies to filter on file paths for the pull request trigger configuration.filePaths
(GitFilePathFilterCriteria filePaths) The field that specifies to filter on file paths for the pull request trigger configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
eventsWithStrings
The field that specifies which pull request events to filter on (opened, updated, closed) for the trigger configuration.
- Parameters:
events
- The field that specifies which pull request events to filter on (opened, updated, closed) for the trigger configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventsWithStrings
The field that specifies which pull request events to filter on (opened, updated, closed) for the trigger configuration.
- Parameters:
events
- The field that specifies which pull request events to filter on (opened, updated, closed) for the trigger configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
The field that specifies which pull request events to filter on (opened, updated, closed) for the trigger configuration.
- Parameters:
events
- The field that specifies which pull request events to filter on (opened, updated, closed) for the trigger configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
The field that specifies which pull request events to filter on (opened, updated, closed) for the trigger configuration.
- Parameters:
events
- The field that specifies which pull request events to filter on (opened, updated, closed) for the trigger configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
branches
The field that specifies to filter on branches for the pull request trigger configuration.
- Parameters:
branches
- The field that specifies to filter on branches for the pull request trigger configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
branches
The field that specifies to filter on branches for the pull request trigger configuration.
This is a convenience method that creates an instance of theGitBranchFilterCriteria.Builder
avoiding the need to create one manually viaGitBranchFilterCriteria.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobranches(GitBranchFilterCriteria)
.- Parameters:
branches
- a consumer that will call methods onGitBranchFilterCriteria.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
filePaths
The field that specifies to filter on file paths for the pull request trigger configuration.
- Parameters:
filePaths
- The field that specifies to filter on file paths for the pull request trigger configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filePaths
default GitPullRequestFilter.Builder filePaths(Consumer<GitFilePathFilterCriteria.Builder> filePaths) The field that specifies to filter on file paths for the pull request trigger configuration.
This is a convenience method that creates an instance of theGitFilePathFilterCriteria.Builder
avoiding the need to create one manually viaGitFilePathFilterCriteria.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilePaths(GitFilePathFilterCriteria)
.- Parameters:
filePaths
- a consumer that will call methods onGitFilePathFilterCriteria.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-