@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CommentsForComparedCommit extends Object implements Serializable, Cloneable, StructuredPojo
Returns information about comments on the comparison between two commits.
Constructor and Description |
---|
CommentsForComparedCommit() |
Modifier and Type | Method and Description |
---|---|
CommentsForComparedCommit |
clone() |
boolean |
equals(Object obj) |
String |
getAfterBlobId()
The full blob ID of the commit used to establish the after of the comparison.
|
String |
getAfterCommitId()
The full commit ID of the commit used to establish the after of the comparison.
|
String |
getBeforeBlobId()
The full blob ID of the commit used to establish the before of the comparison.
|
String |
getBeforeCommitId()
The full commit ID of the commit used to establish the before of the comparison.
|
List<Comment> |
getComments()
An array of comment objects.
|
Location |
getLocation()
Location information about the comment on the comparison, including the file name, line number, and whether the
version of the file where the comment was made is BEFORE or AFTER.
|
String |
getRepositoryName()
The name of the repository that contains the compared commits.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAfterBlobId(String afterBlobId)
The full blob ID of the commit used to establish the after of the comparison.
|
void |
setAfterCommitId(String afterCommitId)
The full commit ID of the commit used to establish the after of the comparison.
|
void |
setBeforeBlobId(String beforeBlobId)
The full blob ID of the commit used to establish the before of the comparison.
|
void |
setBeforeCommitId(String beforeCommitId)
The full commit ID of the commit used to establish the before of the comparison.
|
void |
setComments(Collection<Comment> comments)
An array of comment objects.
|
void |
setLocation(Location location)
Location information about the comment on the comparison, including the file name, line number, and whether the
version of the file where the comment was made is BEFORE or AFTER.
|
void |
setRepositoryName(String repositoryName)
The name of the repository that contains the compared commits.
|
String |
toString()
Returns a string representation of this object.
|
CommentsForComparedCommit |
withAfterBlobId(String afterBlobId)
The full blob ID of the commit used to establish the after of the comparison.
|
CommentsForComparedCommit |
withAfterCommitId(String afterCommitId)
The full commit ID of the commit used to establish the after of the comparison.
|
CommentsForComparedCommit |
withBeforeBlobId(String beforeBlobId)
The full blob ID of the commit used to establish the before of the comparison.
|
CommentsForComparedCommit |
withBeforeCommitId(String beforeCommitId)
The full commit ID of the commit used to establish the before of the comparison.
|
CommentsForComparedCommit |
withComments(Collection<Comment> comments)
An array of comment objects.
|
CommentsForComparedCommit |
withComments(Comment... comments)
An array of comment objects.
|
CommentsForComparedCommit |
withLocation(Location location)
Location information about the comment on the comparison, including the file name, line number, and whether the
version of the file where the comment was made is BEFORE or AFTER.
|
CommentsForComparedCommit |
withRepositoryName(String repositoryName)
The name of the repository that contains the compared commits.
|
public void setRepositoryName(String repositoryName)
The name of the repository that contains the compared commits.
repositoryName
- The name of the repository that contains the compared commits.public String getRepositoryName()
The name of the repository that contains the compared commits.
public CommentsForComparedCommit withRepositoryName(String repositoryName)
The name of the repository that contains the compared commits.
repositoryName
- The name of the repository that contains the compared commits.public void setBeforeCommitId(String beforeCommitId)
The full commit ID of the commit used to establish the before of the comparison.
beforeCommitId
- The full commit ID of the commit used to establish the before of the comparison.public String getBeforeCommitId()
The full commit ID of the commit used to establish the before of the comparison.
public CommentsForComparedCommit withBeforeCommitId(String beforeCommitId)
The full commit ID of the commit used to establish the before of the comparison.
beforeCommitId
- The full commit ID of the commit used to establish the before of the comparison.public void setAfterCommitId(String afterCommitId)
The full commit ID of the commit used to establish the after of the comparison.
afterCommitId
- The full commit ID of the commit used to establish the after of the comparison.public String getAfterCommitId()
The full commit ID of the commit used to establish the after of the comparison.
public CommentsForComparedCommit withAfterCommitId(String afterCommitId)
The full commit ID of the commit used to establish the after of the comparison.
afterCommitId
- The full commit ID of the commit used to establish the after of the comparison.public void setBeforeBlobId(String beforeBlobId)
The full blob ID of the commit used to establish the before of the comparison.
beforeBlobId
- The full blob ID of the commit used to establish the before of the comparison.public String getBeforeBlobId()
The full blob ID of the commit used to establish the before of the comparison.
public CommentsForComparedCommit withBeforeBlobId(String beforeBlobId)
The full blob ID of the commit used to establish the before of the comparison.
beforeBlobId
- The full blob ID of the commit used to establish the before of the comparison.public void setAfterBlobId(String afterBlobId)
The full blob ID of the commit used to establish the after of the comparison.
afterBlobId
- The full blob ID of the commit used to establish the after of the comparison.public String getAfterBlobId()
The full blob ID of the commit used to establish the after of the comparison.
public CommentsForComparedCommit withAfterBlobId(String afterBlobId)
The full blob ID of the commit used to establish the after of the comparison.
afterBlobId
- The full blob ID of the commit used to establish the after of the comparison.public void setLocation(Location location)
Location information about the comment on the comparison, including the file name, line number, and whether the version of the file where the comment was made is BEFORE or AFTER.
location
- Location information about the comment on the comparison, including the file name, line number, and
whether the version of the file where the comment was made is BEFORE or AFTER.public Location getLocation()
Location information about the comment on the comparison, including the file name, line number, and whether the version of the file where the comment was made is BEFORE or AFTER.
public CommentsForComparedCommit withLocation(Location location)
Location information about the comment on the comparison, including the file name, line number, and whether the version of the file where the comment was made is BEFORE or AFTER.
location
- Location information about the comment on the comparison, including the file name, line number, and
whether the version of the file where the comment was made is BEFORE or AFTER.public List<Comment> getComments()
An array of comment objects. Each comment object contains information about a comment on the comparison between commits.
public void setComments(Collection<Comment> comments)
An array of comment objects. Each comment object contains information about a comment on the comparison between commits.
comments
- An array of comment objects. Each comment object contains information about a comment on the comparison
between commits.public CommentsForComparedCommit withComments(Comment... comments)
An array of comment objects. Each comment object contains information about a comment on the comparison between commits.
NOTE: This method appends the values to the existing list (if any). Use
setComments(java.util.Collection)
or withComments(java.util.Collection)
if you want to override
the existing values.
comments
- An array of comment objects. Each comment object contains information about a comment on the comparison
between commits.public CommentsForComparedCommit withComments(Collection<Comment> comments)
An array of comment objects. Each comment object contains information about a comment on the comparison between commits.
comments
- An array of comment objects. Each comment object contains information about a comment on the comparison
between commits.public String toString()
toString
in class Object
Object.toString()
public CommentsForComparedCommit clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.