@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PipelineTriggerDeclaration extends Object implements Serializable, Cloneable, StructuredPojo
Represents information about the specified trigger configuration, such as the filter criteria and the source stage for the action that contains the trigger.
This is only supported for the CodeStarSourceConnection action type.
When a trigger configuration is specified, default change detection for repository and branch commits is disabled.
| Constructor and Description |
|---|
PipelineTriggerDeclaration() |
| Modifier and Type | Method and Description |
|---|---|
PipelineTriggerDeclaration |
clone() |
boolean |
equals(Object obj) |
GitConfiguration |
getGitConfiguration()
Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git
tags.
|
String |
getProviderType()
The source provider for the event, such as connections configured for a repository with Git tags, for the
specified trigger configuration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setGitConfiguration(GitConfiguration gitConfiguration)
Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git
tags.
|
void |
setProviderType(String providerType)
The source provider for the event, such as connections configured for a repository with Git tags, for the
specified trigger configuration.
|
String |
toString()
Returns a string representation of this object.
|
PipelineTriggerDeclaration |
withGitConfiguration(GitConfiguration gitConfiguration)
Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git
tags.
|
PipelineTriggerDeclaration |
withProviderType(PipelineTriggerProviderType providerType)
The source provider for the event, such as connections configured for a repository with Git tags, for the
specified trigger configuration.
|
PipelineTriggerDeclaration |
withProviderType(String providerType)
The source provider for the event, such as connections configured for a repository with Git tags, for the
specified trigger configuration.
|
public void setProviderType(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.PipelineTriggerProviderTypepublic String getProviderType()
The source provider for the event, such as connections configured for a repository with Git tags, for the specified trigger configuration.
PipelineTriggerProviderTypepublic PipelineTriggerDeclaration withProviderType(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.PipelineTriggerProviderTypepublic PipelineTriggerDeclaration withProviderType(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.PipelineTriggerProviderTypepublic void setGitConfiguration(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.public GitConfiguration getGitConfiguration()
Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git tags.
public PipelineTriggerDeclaration withGitConfiguration(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.public String toString()
toString in class ObjectObject.toString()public PipelineTriggerDeclaration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2025. All rights reserved.