@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DocumentReviews extends Object implements Serializable, Cloneable, StructuredPojo
Information about a document approval review.
| Constructor and Description |
|---|
DocumentReviews() |
| Modifier and Type | Method and Description |
|---|---|
DocumentReviews |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
The action to take on a document approval review request.
|
List<DocumentReviewCommentSource> |
getComment()
A comment entered by a user in your organization about the document review request.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAction(String action)
The action to take on a document approval review request.
|
void |
setComment(Collection<DocumentReviewCommentSource> comment)
A comment entered by a user in your organization about the document review request.
|
String |
toString()
Returns a string representation of this object.
|
DocumentReviews |
withAction(DocumentReviewAction action)
The action to take on a document approval review request.
|
DocumentReviews |
withAction(String action)
The action to take on a document approval review request.
|
DocumentReviews |
withComment(Collection<DocumentReviewCommentSource> comment)
A comment entered by a user in your organization about the document review request.
|
DocumentReviews |
withComment(DocumentReviewCommentSource... comment)
A comment entered by a user in your organization about the document review request.
|
public void setAction(String action)
The action to take on a document approval review request.
action - The action to take on a document approval review request.DocumentReviewActionpublic String getAction()
The action to take on a document approval review request.
DocumentReviewActionpublic DocumentReviews withAction(String action)
The action to take on a document approval review request.
action - The action to take on a document approval review request.DocumentReviewActionpublic DocumentReviews withAction(DocumentReviewAction action)
The action to take on a document approval review request.
action - The action to take on a document approval review request.DocumentReviewActionpublic List<DocumentReviewCommentSource> getComment()
A comment entered by a user in your organization about the document review request.
public void setComment(Collection<DocumentReviewCommentSource> comment)
A comment entered by a user in your organization about the document review request.
comment - A comment entered by a user in your organization about the document review request.public DocumentReviews withComment(DocumentReviewCommentSource... comment)
A comment entered by a user in your organization about the document review request.
NOTE: This method appends the values to the existing list (if any). Use
setComment(java.util.Collection) or withComment(java.util.Collection) if you want to override
the existing values.
comment - A comment entered by a user in your organization about the document review request.public DocumentReviews withComment(Collection<DocumentReviewCommentSource> comment)
A comment entered by a user in your organization about the document review request.
comment - A comment entered by a user in your organization about the document review request.public String toString()
toString in class ObjectObject.toString()public DocumentReviews clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.