public static interface PipelineTriggerDeclaration.Builder extends SdkPojo, CopyableBuilder<PipelineTriggerDeclaration.Builder,PipelineTriggerDeclaration>
| Modifier and Type | Method and Description |
|---|---|
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.
|
PipelineTriggerDeclaration.Builder |
gitConfiguration(GitConfiguration gitConfiguration)
Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as
Git tags.
|
PipelineTriggerDeclaration.Builder |
providerType(PipelineTriggerProviderType providerType)
The source provider for the event, such as connections configured for a repository with Git tags, for the
specified trigger configuration.
|
PipelineTriggerDeclaration.Builder |
providerType(String providerType)
The source provider for the event, such as connections configured for a repository with Git tags, for the
specified trigger configuration.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPipelineTriggerDeclaration.Builder 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 - The source provider for the event, such as connections configured for a repository with Git tags, for
the specified trigger configuration.PipelineTriggerProviderType,
PipelineTriggerProviderTypePipelineTriggerDeclaration.Builder providerType(PipelineTriggerProviderType providerType)
The source provider for the event, such as connections configured for a repository with Git tags, for the specified trigger configuration.
providerType - The source provider for the event, such as connections configured for a repository with Git tags, for
the specified trigger configuration.PipelineTriggerProviderType,
PipelineTriggerProviderTypePipelineTriggerDeclaration.Builder gitConfiguration(GitConfiguration gitConfiguration)
Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git tags.
gitConfiguration - Provides the filter criteria and the source stage for the repository event that starts the pipeline,
such as Git tags.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 via GitConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to gitConfiguration(GitConfiguration).
gitConfiguration - a consumer that will call methods on GitConfiguration.BuildergitConfiguration(GitConfiguration)Copyright © 2023. All rights reserved.