@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)
Marshalls this structured data using the given
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.PipelineTriggerProviderType
public String getProviderType()
The source provider for the event, such as connections configured for a repository with Git tags, for the specified trigger configuration.
PipelineTriggerProviderType
public 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.PipelineTriggerProviderType
public 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.PipelineTriggerProviderType
public 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 Object
Object.toString()
public PipelineTriggerDeclaration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.