@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PullRequestSourceReferenceUpdatedEventMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Information about an update to the source branch of a pull request.
Constructor and Description |
---|
PullRequestSourceReferenceUpdatedEventMetadata() |
Modifier and Type | Method and Description |
---|---|
PullRequestSourceReferenceUpdatedEventMetadata |
clone() |
boolean |
equals(Object obj) |
String |
getAfterCommitId()
The full commit ID of the commit in the source branch that was the tip of the branch at the time the pull request
was updated.
|
String |
getBeforeCommitId()
The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull
request was updated.
|
String |
getMergeBase()
The commit ID of the most recent commit that the source branch and the destination branch have in common.
|
String |
getRepositoryName()
The name of the repository where the pull request was updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAfterCommitId(String afterCommitId)
The full commit ID of the commit in the source branch that was the tip of the branch at the time the pull request
was updated.
|
void |
setBeforeCommitId(String beforeCommitId)
The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull
request was updated.
|
void |
setMergeBase(String mergeBase)
The commit ID of the most recent commit that the source branch and the destination branch have in common.
|
void |
setRepositoryName(String repositoryName)
The name of the repository where the pull request was updated.
|
String |
toString()
Returns a string representation of this object.
|
PullRequestSourceReferenceUpdatedEventMetadata |
withAfterCommitId(String afterCommitId)
The full commit ID of the commit in the source branch that was the tip of the branch at the time the pull request
was updated.
|
PullRequestSourceReferenceUpdatedEventMetadata |
withBeforeCommitId(String beforeCommitId)
The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull
request was updated.
|
PullRequestSourceReferenceUpdatedEventMetadata |
withMergeBase(String mergeBase)
The commit ID of the most recent commit that the source branch and the destination branch have in common.
|
PullRequestSourceReferenceUpdatedEventMetadata |
withRepositoryName(String repositoryName)
The name of the repository where the pull request was updated.
|
public PullRequestSourceReferenceUpdatedEventMetadata()
public void setRepositoryName(String repositoryName)
The name of the repository where the pull request was updated.
repositoryName
- The name of the repository where the pull request was updated.public String getRepositoryName()
The name of the repository where the pull request was updated.
public PullRequestSourceReferenceUpdatedEventMetadata withRepositoryName(String repositoryName)
The name of the repository where the pull request was updated.
repositoryName
- The name of the repository where the pull request was updated.public void setBeforeCommitId(String beforeCommitId)
The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was updated.
beforeCommitId
- The full commit ID of the commit in the destination branch that was the tip of the branch at the time the
pull request was updated.public String getBeforeCommitId()
The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was updated.
public PullRequestSourceReferenceUpdatedEventMetadata withBeforeCommitId(String beforeCommitId)
The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was updated.
beforeCommitId
- The full commit ID of the commit in the destination branch that was the tip of the branch at the time the
pull request was updated.public void setAfterCommitId(String afterCommitId)
The full commit ID of the commit in the source branch that was the tip of the branch at the time the pull request was updated.
afterCommitId
- The full commit ID of the commit in the source branch that was the tip of the branch at the time the pull
request was updated.public String getAfterCommitId()
The full commit ID of the commit in the source branch that was the tip of the branch at the time the pull request was updated.
public PullRequestSourceReferenceUpdatedEventMetadata withAfterCommitId(String afterCommitId)
The full commit ID of the commit in the source branch that was the tip of the branch at the time the pull request was updated.
afterCommitId
- The full commit ID of the commit in the source branch that was the tip of the branch at the time the pull
request was updated.public void setMergeBase(String mergeBase)
The commit ID of the most recent commit that the source branch and the destination branch have in common.
mergeBase
- The commit ID of the most recent commit that the source branch and the destination branch have in common.public String getMergeBase()
The commit ID of the most recent commit that the source branch and the destination branch have in common.
public PullRequestSourceReferenceUpdatedEventMetadata withMergeBase(String mergeBase)
The commit ID of the most recent commit that the source branch and the destination branch have in common.
mergeBase
- The commit ID of the most recent commit that the source branch and the destination branch have in common.public String toString()
toString
in class Object
Object.toString()
public PullRequestSourceReferenceUpdatedEventMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.