Interface GitConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GitConfiguration.Builder,GitConfiguration>,SdkBuilder<GitConfiguration.Builder,GitConfiguration>,SdkPojo
- Enclosing class:
- GitConfiguration
public static interface GitConfiguration.Builder extends SdkPojo, CopyableBuilder<GitConfiguration.Builder,GitConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GitConfiguration.BuilderpullRequest(Collection<GitPullRequestFilter> pullRequest)The field where the repository event that will start the pipeline is specified as pull requests.GitConfiguration.BuilderpullRequest(Consumer<GitPullRequestFilter.Builder>... pullRequest)The field where the repository event that will start the pipeline is specified as pull requests.GitConfiguration.BuilderpullRequest(GitPullRequestFilter... pullRequest)The field where the repository event that will start the pipeline is specified as pull requests.GitConfiguration.Builderpush(Collection<GitPushFilter> push)The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.GitConfiguration.Builderpush(Consumer<GitPushFilter.Builder>... push)The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.GitConfiguration.Builderpush(GitPushFilter... push)The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.GitConfiguration.BuildersourceActionName(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
sourceActionName
GitConfiguration.Builder sourceActionName(String 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
GitConfiguration.Builder push(Collection<GitPushFilter> 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
GitConfiguration.Builder push(GitPushFilter... 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
GitConfiguration.Builder 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.
This is a convenience method that creates an instance of theGitPushFilter.Builderavoiding the need to create one manually viaGitPushFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#push(List.) - 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:
#push(java.util.Collection)
-
pullRequest
GitConfiguration.Builder pullRequest(Collection<GitPullRequestFilter> 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
GitConfiguration.Builder pullRequest(GitPullRequestFilter... 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
GitConfiguration.Builder pullRequest(Consumer<GitPullRequestFilter.Builder>... 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.Builderavoiding the need to create one manually viaGitPullRequestFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#pullRequest(List.) - 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:
#pullRequest(java.util.Collection)
-
-