@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GitConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
A type of trigger configuration for Git-based source actions.
You can specify the Git configuration trigger type for all third-party Git-based source actions that are supported by
the CodeStarSourceConnection
action type.
V2 type pipelines, along with triggers on Git tags and pipeline-level variables, are not currently supported for CloudFormation and CDK resources in CodePipeline. For more information about V2 type pipelines, see Pipeline types in the CodePipeline User Guide.
Constructor and Description |
---|
GitConfiguration() |
Modifier and Type | Method and Description |
---|---|
GitConfiguration |
clone() |
boolean |
equals(Object obj) |
List<GitPushFilter> |
getPush()
The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with
details.
|
String |
getSourceActionName()
The name of the pipeline source action where the trigger configuration, such as Git tags, is specified.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPush(Collection<GitPushFilter> push)
The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with
details.
|
void |
setSourceActionName(String sourceActionName)
The name of the pipeline source action where the trigger configuration, such as Git tags, is specified.
|
String |
toString()
Returns a string representation of this object.
|
GitConfiguration |
withPush(Collection<GitPushFilter> push)
The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with
details.
|
GitConfiguration |
withPush(GitPushFilter... push)
The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with
details.
|
GitConfiguration |
withSourceActionName(String sourceActionName)
The name of the pipeline source action where the trigger configuration, such as Git tags, is specified.
|
public void setSourceActionName(String sourceActionName)
The name of the pipeline source action where the trigger configuration, such as Git tags, is specified. The trigger configuration will start the pipeline upon the specified change only.
You can only specify one trigger configuration per source action.
sourceActionName
- The name of the pipeline source action where the trigger configuration, such as Git tags, is specified.
The trigger configuration will start the pipeline upon the specified change only. You can only specify one trigger configuration per source action.
public String getSourceActionName()
The name of the pipeline source action where the trigger configuration, such as Git tags, is specified. The trigger configuration will start the pipeline upon the specified change only.
You can only specify one trigger configuration per source action.
You can only specify one trigger configuration per source action.
public GitConfiguration withSourceActionName(String sourceActionName)
The name of the pipeline source action where the trigger configuration, such as Git tags, is specified. The trigger configuration will start the pipeline upon the specified change only.
You can only specify one trigger configuration per source action.
sourceActionName
- The name of the pipeline source action where the trigger configuration, such as Git tags, is specified.
The trigger configuration will start the pipeline upon the specified change only. You can only specify one trigger configuration per source action.
public List<GitPushFilter> getPush()
The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.
Git tags is the only supported event type.
Git tags is the only supported event type.
public void setPush(Collection<GitPushFilter> push)
The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.
Git tags is the only supported event type.
push
- The field where the repository event that will start the pipeline, such as pushing Git tags, is specified
with details. Git tags is the only supported event type.
public GitConfiguration withPush(GitPushFilter... push)
The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.
Git tags is the only supported event type.
NOTE: This method appends the values to the existing list (if any). Use
setPush(java.util.Collection)
or withPush(java.util.Collection)
if you want to override the
existing values.
push
- The field where the repository event that will start the pipeline, such as pushing Git tags, is specified
with details. Git tags is the only supported event type.
public GitConfiguration withPush(Collection<GitPushFilter> push)
The field where the repository event that will start the pipeline, such as pushing Git tags, is specified with details.
Git tags is the only supported event type.
push
- The field where the repository event that will start the pipeline, such as pushing Git tags, is specified
with details. Git tags is the only supported event type.
public String toString()
toString
in class Object
Object.toString()
public GitConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.