Interface GitConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GitConfiguration.Builder,
,GitConfiguration> SdkBuilder<GitConfiguration.Builder,
,GitConfiguration> SdkPojo
- Enclosing class:
GitConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionpullRequest
(Collection<GitPullRequestFilter> pullRequest) The field where the repository event that will start the pipeline is specified as pull requests.pullRequest
(Consumer<GitPullRequestFilter.Builder>... pullRequest) The field where the repository event that will start the pipeline is specified as pull requests.pullRequest
(GitPullRequestFilter... pullRequest) The field where the repository event that will start the pipeline is specified as pull requests.push
(Collection<GitPushFilter> push) The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.push
(Consumer<GitPushFilter.Builder>... push) The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.push
(GitPushFilter... push) The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.sourceActionName
(String sourceActionName) The name of the pipeline source action where the trigger configuration, such as Git tags, is specified.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
-
sourceActionName
The name of the pipeline source action where the trigger configuration, such as Git tags, is specified. The trigger configuration will start the pipeline upon the specified change only.
You can only specify one trigger configuration per source action.
- Parameters:
sourceActionName
- The name of the pipeline source action where the trigger configuration, such as Git tags, is specified. The trigger configuration will start the pipeline upon the specified change only.You can only specify one trigger configuration per source action.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
push
The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.
- Parameters:
push
- The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
push
The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.
- Parameters:
push
- The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
push
The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.
This is a convenience method that creates an instance of theGitPushFilter.Builder
avoiding the need to create one manually viaGitPushFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topush(List<GitPushFilter>)
.- Parameters:
push
- a consumer that will call methods onGitPushFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
pullRequest
The field where the repository event that will start the pipeline is specified as pull requests.
- Parameters:
pullRequest
- The field where the repository event that will start the pipeline is specified as pull requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pullRequest
The field where the repository event that will start the pipeline is specified as pull requests.
- Parameters:
pullRequest
- The field where the repository event that will start the pipeline is specified as pull requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pullRequest
The field where the repository event that will start the pipeline is specified as pull requests.
This is a convenience method that creates an instance of theGitPullRequestFilter.Builder
avoiding the need to create one manually viaGitPullRequestFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topullRequest(List<GitPullRequestFilter>)
.- Parameters:
pullRequest
- a consumer that will call methods onGitPullRequestFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-