@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.
Constructor and Description |
---|
GitConfiguration() |
Modifier and Type | Method and Description |
---|---|
GitConfiguration |
clone() |
boolean |
equals(Object obj) |
List<GitPullRequestFilter> |
getPullRequest()
The field where the repository event that will start the pipeline is specified as pull requests.
|
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 |
setPullRequest(Collection<GitPullRequestFilter> pullRequest)
The field where the repository event that will start the pipeline is specified as pull requests.
|
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 |
withPullRequest(Collection<GitPullRequestFilter> pullRequest)
The field where the repository event that will start the pipeline is specified as pull requests.
|
GitConfiguration |
withPullRequest(GitPullRequestFilter... pullRequest)
The field where the repository event that will start the pipeline is specified as pull requests.
|
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.
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.
push
- The field where the repository event that will start the pipeline, such as pushing Git tags, is specified
with details.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.
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.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.
push
- The field where the repository event that will start the pipeline, such as pushing Git tags, is specified
with details.public List<GitPullRequestFilter> getPullRequest()
The field where the repository event that will start the pipeline is specified as pull requests.
public void setPullRequest(Collection<GitPullRequestFilter> pullRequest)
The field where the repository event that will start the pipeline is specified as pull requests.
pullRequest
- The field where the repository event that will start the pipeline is specified as pull requests.public GitConfiguration withPullRequest(GitPullRequestFilter... pullRequest)
The field where the repository event that will start the pipeline is specified as pull requests.
NOTE: This method appends the values to the existing list (if any). Use
setPullRequest(java.util.Collection)
or withPullRequest(java.util.Collection)
if you want to
override the existing values.
pullRequest
- The field where the repository event that will start the pipeline is specified as pull requests.public GitConfiguration withPullRequest(Collection<GitPullRequestFilter> pullRequest)
The field where the repository event that will start the pipeline is specified as pull requests.
pullRequest
- The field where the repository event that will start the pipeline is specified as pull requests.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.