Interface GitPullRequestFilter.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GitPullRequestFilter.Builder,GitPullRequestFilter>,SdkBuilder<GitPullRequestFilter.Builder,GitPullRequestFilter>,SdkPojo
- Enclosing class:
- GitPullRequestFilter
public static interface GitPullRequestFilter.Builder extends SdkPojo, CopyableBuilder<GitPullRequestFilter.Builder,GitPullRequestFilter>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GitPullRequestFilter.Builderbranches(Consumer<GitBranchFilterCriteria.Builder> branches)The field that specifies to filter on branches for the pull request trigger configuration.GitPullRequestFilter.Builderbranches(GitBranchFilterCriteria branches)The field that specifies to filter on branches for the pull request trigger configuration.GitPullRequestFilter.Builderevents(Collection<GitPullRequestEventType> events)The field that specifies which pull request events to filter on (opened, updated, closed) for the trigger configuration.GitPullRequestFilter.Builderevents(GitPullRequestEventType... events)The field that specifies which pull request events to filter on (opened, updated, closed) for the trigger configuration.GitPullRequestFilter.BuildereventsWithStrings(String... events)The field that specifies which pull request events to filter on (opened, updated, closed) for the trigger configuration.GitPullRequestFilter.BuildereventsWithStrings(Collection<String> events)The field that specifies which pull request events to filter on (opened, updated, closed) for the trigger configuration.default GitPullRequestFilter.BuilderfilePaths(Consumer<GitFilePathFilterCriteria.Builder> filePaths)The field that specifies to filter on file paths for the pull request trigger configuration.GitPullRequestFilter.BuilderfilePaths(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
eventsWithStrings
GitPullRequestFilter.Builder eventsWithStrings(Collection<String> 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.
-
eventsWithStrings
GitPullRequestFilter.Builder eventsWithStrings(String... 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
GitPullRequestFilter.Builder events(Collection<GitPullRequestEventType> 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
GitPullRequestFilter.Builder events(GitPullRequestEventType... 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
GitPullRequestFilter.Builder branches(GitBranchFilterCriteria 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
default GitPullRequestFilter.Builder branches(Consumer<GitBranchFilterCriteria.Builder> 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.Builderavoiding the need to create one manually viaGitBranchFilterCriteria.builder().When the
Consumercompletes,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:
branches(GitBranchFilterCriteria)
-
filePaths
GitPullRequestFilter.Builder filePaths(GitFilePathFilterCriteria 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.Builderavoiding the need to create one manually viaGitFilePathFilterCriteria.builder().When the
Consumercompletes,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:
filePaths(GitFilePathFilterCriteria)
-
-