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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default PipelineTriggerDeclaration.BuildergitConfiguration(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.BuildergitConfiguration(GitConfiguration gitConfiguration)Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git tags.PipelineTriggerDeclaration.BuilderproviderType(String providerType)The source provider for the event, such as connections configured for a repository with Git tags, for the specified trigger configuration.PipelineTriggerDeclaration.BuilderproviderType(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
providerType
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.
- 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:
PipelineTriggerProviderType,PipelineTriggerProviderType
-
providerType
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.
- 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:
PipelineTriggerProviderType,PipelineTriggerProviderType
-
gitConfiguration
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.
- 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.Builderavoiding the need to create one manually viaGitConfiguration.builder().When the
Consumercompletes,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:
gitConfiguration(GitConfiguration)
-
-