@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DocumentReviewCommentSource extends Object implements Serializable, Cloneable, StructuredPojo
Information about comments added to a document review request.
Constructor and Description |
---|
DocumentReviewCommentSource() |
Modifier and Type | Method and Description |
---|---|
DocumentReviewCommentSource |
clone() |
boolean |
equals(Object obj) |
String |
getContent()
The content of a comment entered by a user who requests a review of a new document version, or who reviews the
new version.
|
String |
getType()
The type of information added to a review request.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setContent(String content)
The content of a comment entered by a user who requests a review of a new document version, or who reviews the
new version.
|
void |
setType(String type)
The type of information added to a review request.
|
String |
toString()
Returns a string representation of this object.
|
DocumentReviewCommentSource |
withContent(String content)
The content of a comment entered by a user who requests a review of a new document version, or who reviews the
new version.
|
DocumentReviewCommentSource |
withType(DocumentReviewCommentType type)
The type of information added to a review request.
|
DocumentReviewCommentSource |
withType(String type)
The type of information added to a review request.
|
public void setType(String type)
The type of information added to a review request. Currently, only the value Comment
is supported.
type
- The type of information added to a review request. Currently, only the value Comment
is
supported.DocumentReviewCommentType
public String getType()
The type of information added to a review request. Currently, only the value Comment
is supported.
Comment
is
supported.DocumentReviewCommentType
public DocumentReviewCommentSource withType(String type)
The type of information added to a review request. Currently, only the value Comment
is supported.
type
- The type of information added to a review request. Currently, only the value Comment
is
supported.DocumentReviewCommentType
public DocumentReviewCommentSource withType(DocumentReviewCommentType type)
The type of information added to a review request. Currently, only the value Comment
is supported.
type
- The type of information added to a review request. Currently, only the value Comment
is
supported.DocumentReviewCommentType
public void setContent(String content)
The content of a comment entered by a user who requests a review of a new document version, or who reviews the new version.
content
- The content of a comment entered by a user who requests a review of a new document version, or who reviews
the new version.public String getContent()
The content of a comment entered by a user who requests a review of a new document version, or who reviews the new version.
public DocumentReviewCommentSource withContent(String content)
The content of a comment entered by a user who requests a review of a new document version, or who reviews the new version.
content
- The content of a comment entered by a user who requests a review of a new document version, or who reviews
the new version.public String toString()
toString
in class Object
Object.toString()
public DocumentReviewCommentSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.