Interface PipelineTriggerDeclaration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PipelineTriggerDeclaration.Builder,
,PipelineTriggerDeclaration> SdkBuilder<PipelineTriggerDeclaration.Builder,
,PipelineTriggerDeclaration> SdkPojo
- Enclosing class:
PipelineTriggerDeclaration
public static interface PipelineTriggerDeclaration.Builder
extends SdkPojo, CopyableBuilder<PipelineTriggerDeclaration.Builder,PipelineTriggerDeclaration>
-
Method Summary
Modifier and TypeMethodDescriptiongitConfiguration
(Consumer<GitConfiguration.Builder> gitConfiguration) Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git tags.gitConfiguration
(GitConfiguration gitConfiguration) Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git tags.providerType
(String providerType) The source provider for the event, such as connections configured for a repository with Git tags, for the specified trigger configuration.providerType
(PipelineTriggerProviderType providerType) The source provider for the event, such as connections configured for a repository with Git tags, for the specified 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
-
providerType
The source provider for the event, such as connections configured for a repository with Git tags, for the specified trigger configuration.
- Parameters:
providerType
- The source provider for the event, such as connections configured for a repository with Git tags, for the specified trigger configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
providerType
The source provider for the event, such as connections configured for a repository with Git tags, for the specified trigger configuration.
- Parameters:
providerType
- The source provider for the event, such as connections configured for a repository with Git tags, for the specified trigger configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
gitConfiguration
Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git tags.
- Parameters:
gitConfiguration
- Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gitConfiguration
default PipelineTriggerDeclaration.Builder gitConfiguration(Consumer<GitConfiguration.Builder> gitConfiguration) Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git tags.
This is a convenience method that creates an instance of theGitConfiguration.Builder
avoiding the need to create one manually viaGitConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togitConfiguration(GitConfiguration)
.- Parameters:
gitConfiguration
- a consumer that will call methods onGitConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-