@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PullRequestCreatedEventMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Metadata about the pull request that is used when comparing the pull request source with its destination.
Constructor and Description |
---|
PullRequestCreatedEventMetadata() |
Modifier and Type | Method and Description |
---|---|
PullRequestCreatedEventMetadata |
clone() |
boolean |
equals(Object obj) |
String |
getDestinationCommitId()
The commit ID of the tip of the branch specified as the destination branch when the pull request was created.
|
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 created.
|
String |
getSourceCommitId()
The commit ID on the source branch used when the pull request was created.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDestinationCommitId(String destinationCommitId)
The commit ID of the tip of the branch specified as the destination branch when the pull request was created.
|
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 created.
|
void |
setSourceCommitId(String sourceCommitId)
The commit ID on the source branch used when the pull request was created.
|
String |
toString()
Returns a string representation of this object.
|
PullRequestCreatedEventMetadata |
withDestinationCommitId(String destinationCommitId)
The commit ID of the tip of the branch specified as the destination branch when the pull request was created.
|
PullRequestCreatedEventMetadata |
withMergeBase(String mergeBase)
The commit ID of the most recent commit that the source branch and the destination branch have in common.
|
PullRequestCreatedEventMetadata |
withRepositoryName(String repositoryName)
The name of the repository where the pull request was created.
|
PullRequestCreatedEventMetadata |
withSourceCommitId(String sourceCommitId)
The commit ID on the source branch used when the pull request was created.
|
public void setRepositoryName(String repositoryName)
The name of the repository where the pull request was created.
repositoryName
- The name of the repository where the pull request was created.public String getRepositoryName()
The name of the repository where the pull request was created.
public PullRequestCreatedEventMetadata withRepositoryName(String repositoryName)
The name of the repository where the pull request was created.
repositoryName
- The name of the repository where the pull request was created.public void setSourceCommitId(String sourceCommitId)
The commit ID on the source branch used when the pull request was created.
sourceCommitId
- The commit ID on the source branch used when the pull request was created.public String getSourceCommitId()
The commit ID on the source branch used when the pull request was created.
public PullRequestCreatedEventMetadata withSourceCommitId(String sourceCommitId)
The commit ID on the source branch used when the pull request was created.
sourceCommitId
- The commit ID on the source branch used when the pull request was created.public void setDestinationCommitId(String destinationCommitId)
The commit ID of the tip of the branch specified as the destination branch when the pull request was created.
destinationCommitId
- The commit ID of the tip of the branch specified as the destination branch when the pull request was
created.public String getDestinationCommitId()
The commit ID of the tip of the branch specified as the destination branch when the pull request was created.
public PullRequestCreatedEventMetadata withDestinationCommitId(String destinationCommitId)
The commit ID of the tip of the branch specified as the destination branch when the pull request was created.
destinationCommitId
- The commit ID of the tip of the branch specified as the destination branch when the pull request was
created.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 PullRequestCreatedEventMetadata 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 PullRequestCreatedEventMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.