Class CreateCommentRequest

    • Method Detail

      • authenticationToken

        public final String authenticationToken()

        Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

        Returns:
        Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
      • documentId

        public final String documentId()

        The ID of the document.

        Returns:
        The ID of the document.
      • versionId

        public final String versionId()

        The ID of the document version.

        Returns:
        The ID of the document version.
      • parentId

        public final String parentId()

        The ID of the parent comment.

        Returns:
        The ID of the parent comment.
      • threadId

        public final String threadId()

        The ID of the root comment in the thread.

        Returns:
        The ID of the root comment in the thread.
      • text

        public final String text()

        The text of the comment.

        Returns:
        The text of the comment.
      • visibility

        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().

        Returns:
        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.
        See Also:
        CommentVisibilityType
      • visibilityAsString

        public 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().

        Returns:
        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.
        See Also:
        CommentVisibilityType
      • notifyCollaborators

        public final Boolean notifyCollaborators()

        Set this parameter to TRUE to send an email out to the document collaborators after the comment is created.

        Returns:
        Set this parameter to TRUE to send an email out to the document collaborators after the comment is created.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object