@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeCommentsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
| DescribeCommentsResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| DescribeCommentsResult | clone() | 
| boolean | equals(Object obj) | 
| List<Comment> | getComments()
 The list of comments for the specified document version. | 
| String | getMarker()
 The marker for the next set of results. | 
| int | hashCode() | 
| void | setComments(Collection<Comment> comments)
 The list of comments for the specified document version. | 
| void | setMarker(String marker)
 The marker for the next set of results. | 
| String | toString()Returns a string representation of this object. | 
| DescribeCommentsResult | withComments(Collection<Comment> comments)
 The list of comments for the specified document version. | 
| DescribeCommentsResult | withComments(Comment... comments)
 The list of comments for the specified document version. | 
| DescribeCommentsResult | withMarker(String marker)
 The marker for the next set of results. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<Comment> getComments()
The list of comments for the specified document version.
public void setComments(Collection<Comment> comments)
The list of comments for the specified document version.
comments - The list of comments for the specified document version.public DescribeCommentsResult withComments(Comment... comments)
The list of comments for the specified document version.
 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 - The list of comments for the specified document version.public DescribeCommentsResult withComments(Collection<Comment> comments)
The list of comments for the specified document version.
comments - The list of comments for the specified document version.public void setMarker(String marker)
The marker for the next set of results. This marker was received from a previous call.
marker - The marker for the next set of results. This marker was received from a previous call.public String getMarker()
The marker for the next set of results. This marker was received from a previous call.
public DescribeCommentsResult withMarker(String marker)
The marker for the next set of results. This marker was received from a previous call.
marker - The marker for the next set of results. This marker was received from a previous call.public String toString()
toString in class ObjectObject.toString()public DescribeCommentsResult clone()