@Generated(value="software.amazon.awssdk:codegen") public final class CreateCommentRequest extends WorkDocsRequest implements ToCopyableBuilder<CreateCommentRequest.Builder,CreateCommentRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateCommentRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
authenticationToken()
Amazon WorkDocs authentication token.
|
static CreateCommentRequest.Builder |
builder() |
String |
documentId()
The ID of the document.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
notifyCollaborators()
Set this parameter to TRUE to send an email out to the document collaborators after the comment is created.
|
String |
parentId()
The ID of the parent comment.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateCommentRequest.Builder> |
serializableBuilderClass() |
String |
text()
The text of the comment.
|
String |
threadId()
The ID of the root comment in the thread.
|
CreateCommentRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
versionId()
The ID of the document version.
|
CommentVisibilityType |
visibility()
The visibility of the comment.
|
String |
visibilityAsString()
The visibility of the comment.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String authenticationToken()
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
public final String documentId()
The ID of the document.
public final String versionId()
The ID of the document version.
public final String parentId()
The ID of the parent comment.
public final String threadId()
The ID of the root comment in the thread.
public final String text()
The text of the comment.
public final 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.
If the service returns an enum value that is not available in the current SDK version, visibility will
return CommentVisibilityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from visibilityAsString().
CommentVisibilityTypepublic final String visibilityAsString()
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.
If the service returns an enum value that is not available in the current SDK version, visibility will
return CommentVisibilityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from visibilityAsString().
CommentVisibilityTypepublic final Boolean notifyCollaborators()
Set this parameter to TRUE to send an email out to the document collaborators after the comment is created.
public CreateCommentRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateCommentRequest.Builder,CreateCommentRequest>toBuilder in class WorkDocsRequestpublic static CreateCommentRequest.Builder builder()
public static Class<? extends CreateCommentRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.