@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PostCommentForPullRequestResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
PostCommentForPullRequestResult() |
Modifier and Type | Method and Description |
---|---|
PostCommentForPullRequestResult |
clone() |
boolean |
equals(Object obj) |
String |
getAfterBlobId()
In the directionality of the pull request, the blob ID of the 'after' blob.
|
String |
getAfterCommitId()
The full commit ID of the commit in the destination branch where the pull request will be merged.
|
String |
getBeforeBlobId()
In the directionality of the pull request, the blob ID of the 'before' blob.
|
String |
getBeforeCommitId()
The full commit ID of the commit in the source branch used to create the pull request, or in the case of an
updated pull request, the full commit ID of the commit used to update the pull request.
|
Comment |
getComment()
The content of the comment you posted.
|
Location |
getLocation()
The location of the change where you posted your comment.
|
String |
getPullRequestId()
The system-generated ID of the pull request.
|
String |
getRepositoryName()
The name of the repository where you posted a comment on a pull request.
|
int |
hashCode() |
void |
setAfterBlobId(String afterBlobId)
In the directionality of the pull request, the blob ID of the 'after' blob.
|
void |
setAfterCommitId(String afterCommitId)
The full commit ID of the commit in the destination branch where the pull request will be merged.
|
void |
setBeforeBlobId(String beforeBlobId)
In the directionality of the pull request, the blob ID of the 'before' blob.
|
void |
setBeforeCommitId(String beforeCommitId)
The full commit ID of the commit in the source branch used to create the pull request, or in the case of an
updated pull request, the full commit ID of the commit used to update the pull request.
|
void |
setComment(Comment comment)
The content of the comment you posted.
|
void |
setLocation(Location location)
The location of the change where you posted your comment.
|
void |
setPullRequestId(String pullRequestId)
The system-generated ID of the pull request.
|
void |
setRepositoryName(String repositoryName)
The name of the repository where you posted a comment on a pull request.
|
String |
toString()
Returns a string representation of this object.
|
PostCommentForPullRequestResult |
withAfterBlobId(String afterBlobId)
In the directionality of the pull request, the blob ID of the 'after' blob.
|
PostCommentForPullRequestResult |
withAfterCommitId(String afterCommitId)
The full commit ID of the commit in the destination branch where the pull request will be merged.
|
PostCommentForPullRequestResult |
withBeforeBlobId(String beforeBlobId)
In the directionality of the pull request, the blob ID of the 'before' blob.
|
PostCommentForPullRequestResult |
withBeforeCommitId(String beforeCommitId)
The full commit ID of the commit in the source branch used to create the pull request, or in the case of an
updated pull request, the full commit ID of the commit used to update the pull request.
|
PostCommentForPullRequestResult |
withComment(Comment comment)
The content of the comment you posted.
|
PostCommentForPullRequestResult |
withLocation(Location location)
The location of the change where you posted your comment.
|
PostCommentForPullRequestResult |
withPullRequestId(String pullRequestId)
The system-generated ID of the pull request.
|
PostCommentForPullRequestResult |
withRepositoryName(String repositoryName)
The name of the repository where you posted a comment on a pull request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setRepositoryName(String repositoryName)
The name of the repository where you posted a comment on a pull request.
repositoryName
- The name of the repository where you posted a comment on a pull request.public String getRepositoryName()
The name of the repository where you posted a comment on a pull request.
public PostCommentForPullRequestResult withRepositoryName(String repositoryName)
The name of the repository where you posted a comment on a pull request.
repositoryName
- The name of the repository where you posted a comment on a pull request.public void setPullRequestId(String pullRequestId)
The system-generated ID of the pull request.
pullRequestId
- The system-generated ID of the pull request.public String getPullRequestId()
The system-generated ID of the pull request.
public PostCommentForPullRequestResult withPullRequestId(String pullRequestId)
The system-generated ID of the pull request.
pullRequestId
- The system-generated ID of the pull request.public void setBeforeCommitId(String beforeCommitId)
The full commit ID of the commit in the source branch used to create the pull request, or in the case of an updated pull request, the full commit ID of the commit used to update the pull request.
beforeCommitId
- The full commit ID of the commit in the source branch used to create the pull request, or in the case of
an updated pull request, the full commit ID of the commit used to update the pull request.public String getBeforeCommitId()
The full commit ID of the commit in the source branch used to create the pull request, or in the case of an updated pull request, the full commit ID of the commit used to update the pull request.
public PostCommentForPullRequestResult withBeforeCommitId(String beforeCommitId)
The full commit ID of the commit in the source branch used to create the pull request, or in the case of an updated pull request, the full commit ID of the commit used to update the pull request.
beforeCommitId
- The full commit ID of the commit in the source branch used to create the pull request, or in the case of
an updated pull request, the full commit ID of the commit used to update the pull request.public void setAfterCommitId(String afterCommitId)
The full commit ID of the commit in the destination branch where the pull request will be merged.
afterCommitId
- The full commit ID of the commit in the destination branch where the pull request will be merged.public String getAfterCommitId()
The full commit ID of the commit in the destination branch where the pull request will be merged.
public PostCommentForPullRequestResult withAfterCommitId(String afterCommitId)
The full commit ID of the commit in the destination branch where the pull request will be merged.
afterCommitId
- The full commit ID of the commit in the destination branch where the pull request will be merged.public void setBeforeBlobId(String beforeBlobId)
In the directionality of the pull request, the blob ID of the 'before' blob.
beforeBlobId
- In the directionality of the pull request, the blob ID of the 'before' blob.public String getBeforeBlobId()
In the directionality of the pull request, the blob ID of the 'before' blob.
public PostCommentForPullRequestResult withBeforeBlobId(String beforeBlobId)
In the directionality of the pull request, the blob ID of the 'before' blob.
beforeBlobId
- In the directionality of the pull request, the blob ID of the 'before' blob.public void setAfterBlobId(String afterBlobId)
In the directionality of the pull request, the blob ID of the 'after' blob.
afterBlobId
- In the directionality of the pull request, the blob ID of the 'after' blob.public String getAfterBlobId()
In the directionality of the pull request, the blob ID of the 'after' blob.
public PostCommentForPullRequestResult withAfterBlobId(String afterBlobId)
In the directionality of the pull request, the blob ID of the 'after' blob.
afterBlobId
- In the directionality of the pull request, the blob ID of the 'after' blob.public void setLocation(Location location)
The location of the change where you posted your comment.
location
- The location of the change where you posted your comment.public Location getLocation()
The location of the change where you posted your comment.
public PostCommentForPullRequestResult withLocation(Location location)
The location of the change where you posted your comment.
location
- The location of the change where you posted your comment.public void setComment(Comment comment)
The content of the comment you posted.
comment
- The content of the comment you posted.public Comment getComment()
The content of the comment you posted.
public PostCommentForPullRequestResult withComment(Comment comment)
The content of the comment you posted.
comment
- The content of the comment you posted.public String toString()
toString
in class Object
Object.toString()
public PostCommentForPullRequestResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.