@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateCommentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateCommentRequest() |
Modifier and Type | Method and Description |
---|---|
CreateCommentRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAuthenticationToken()
Amazon WorkDocs authentication token.
|
String |
getDocumentId()
The ID of the document.
|
Boolean |
getNotifyCollaborators()
Set this parameter to TRUE to send an email out to the document collaborators after the comment is created.
|
String |
getParentId()
The ID of the parent comment.
|
String |
getText()
The text of the comment.
|
String |
getThreadId()
The ID of the root comment in the thread.
|
String |
getVersionId()
The ID of the document version.
|
String |
getVisibility()
The visibility of the comment.
|
int |
hashCode() |
Boolean |
isNotifyCollaborators()
Set this parameter to TRUE to send an email out to the document collaborators after the comment is created.
|
void |
setAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token.
|
void |
setDocumentId(String documentId)
The ID of the document.
|
void |
setNotifyCollaborators(Boolean notifyCollaborators)
Set this parameter to TRUE to send an email out to the document collaborators after the comment is created.
|
void |
setParentId(String parentId)
The ID of the parent comment.
|
void |
setText(String text)
The text of the comment.
|
void |
setThreadId(String threadId)
The ID of the root comment in the thread.
|
void |
setVersionId(String versionId)
The ID of the document version.
|
void |
setVisibility(CommentVisibilityType visibility)
The visibility of the comment.
|
void |
setVisibility(String visibility)
The visibility of the comment.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateCommentRequest |
withAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token.
|
CreateCommentRequest |
withDocumentId(String documentId)
The ID of the document.
|
CreateCommentRequest |
withNotifyCollaborators(Boolean notifyCollaborators)
Set this parameter to TRUE to send an email out to the document collaborators after the comment is created.
|
CreateCommentRequest |
withParentId(String parentId)
The ID of the parent comment.
|
CreateCommentRequest |
withText(String text)
The text of the comment.
|
CreateCommentRequest |
withThreadId(String threadId)
The ID of the root comment in the thread.
|
CreateCommentRequest |
withVersionId(String versionId)
The ID of the document version.
|
CreateCommentRequest |
withVisibility(CommentVisibilityType visibility)
The visibility of the comment.
|
CreateCommentRequest |
withVisibility(String visibility)
The visibility of the comment.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.
authenticationToken
- Amazon WorkDocs authentication token. This field should not be set when using administrative API actions,
as in accessing the API using AWS credentials.public String getAuthenticationToken()
Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.
public CreateCommentRequest withAuthenticationToken(String authenticationToken)
Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.
authenticationToken
- Amazon WorkDocs authentication token. This field should not be set when using administrative API actions,
as in accessing the API using AWS credentials.public void setDocumentId(String documentId)
The ID of the document.
documentId
- The ID of the document.public String getDocumentId()
The ID of the document.
public CreateCommentRequest withDocumentId(String documentId)
The ID of the document.
documentId
- The ID of the document.public void setVersionId(String versionId)
The ID of the document version.
versionId
- The ID of the document version.public String getVersionId()
The ID of the document version.
public CreateCommentRequest withVersionId(String versionId)
The ID of the document version.
versionId
- The ID of the document version.public void setParentId(String parentId)
The ID of the parent comment.
parentId
- The ID of the parent comment.public String getParentId()
The ID of the parent comment.
public CreateCommentRequest withParentId(String parentId)
The ID of the parent comment.
parentId
- The ID of the parent comment.public void setThreadId(String threadId)
The ID of the root comment in the thread.
threadId
- The ID of the root comment in the thread.public String getThreadId()
The ID of the root comment in the thread.
public CreateCommentRequest withThreadId(String threadId)
The ID of the root comment in the thread.
threadId
- The ID of the root comment in the thread.public void setText(String text)
The text of the comment.
text
- The text of the comment.public String getText()
The text of the comment.
public CreateCommentRequest withText(String text)
The text of the comment.
text
- The text of the comment.public void setVisibility(String visibility)
The visibility of the comment. Options are either PRIVATE, where the comment is visible only to the comment author and document owner and co-owners, or PUBLIC, where the comment is visible to document owners, co-owners, and contributors.
visibility
- The visibility of the comment. Options are either PRIVATE, where the comment is visible only to the
comment author and document owner and co-owners, or PUBLIC, where the comment is visible to document
owners, co-owners, and contributors.CommentVisibilityType
public String getVisibility()
The visibility of the comment. Options are either PRIVATE, where the comment is visible only to the comment author and document owner and co-owners, or PUBLIC, where the comment is visible to document owners, co-owners, and contributors.
CommentVisibilityType
public CreateCommentRequest withVisibility(String visibility)
The visibility of the comment. Options are either PRIVATE, where the comment is visible only to the comment author and document owner and co-owners, or PUBLIC, where the comment is visible to document owners, co-owners, and contributors.
visibility
- The visibility of the comment. Options are either PRIVATE, where the comment is visible only to the
comment author and document owner and co-owners, or PUBLIC, where the comment is visible to document
owners, co-owners, and contributors.CommentVisibilityType
public void setVisibility(CommentVisibilityType visibility)
The visibility of the comment. Options are either PRIVATE, where the comment is visible only to the comment author and document owner and co-owners, or PUBLIC, where the comment is visible to document owners, co-owners, and contributors.
visibility
- The visibility of the comment. Options are either PRIVATE, where the comment is visible only to the
comment author and document owner and co-owners, or PUBLIC, where the comment is visible to document
owners, co-owners, and contributors.CommentVisibilityType
public CreateCommentRequest withVisibility(CommentVisibilityType visibility)
The visibility of the comment. Options are either PRIVATE, where the comment is visible only to the comment author and document owner and co-owners, or PUBLIC, where the comment is visible to document owners, co-owners, and contributors.
visibility
- The visibility of the comment. Options are either PRIVATE, where the comment is visible only to the
comment author and document owner and co-owners, or PUBLIC, where the comment is visible to document
owners, co-owners, and contributors.CommentVisibilityType
public void setNotifyCollaborators(Boolean notifyCollaborators)
Set this parameter to TRUE to send an email out to the document collaborators after the comment is created.
notifyCollaborators
- Set this parameter to TRUE to send an email out to the document collaborators after the comment is
created.public Boolean getNotifyCollaborators()
Set this parameter to TRUE to send an email out to the document collaborators after the comment is created.
public CreateCommentRequest withNotifyCollaborators(Boolean notifyCollaborators)
Set this parameter to TRUE to send an email out to the document collaborators after the comment is created.
notifyCollaborators
- Set this parameter to TRUE to send an email out to the document collaborators after the comment is
created.public Boolean isNotifyCollaborators()
Set this parameter to TRUE to send an email out to the document collaborators after the comment is created.
public String toString()
toString
in class Object
Object.toString()
public CreateCommentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.