@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (authenticationToken != null) {
            sb.append("AuthenticationToken: ").append(authenticationToken).append(",");
        }
        if (documentId != null) {
            sb.append("DocumentId: ").append(documentId).append(",");
        }
        if (parentFolderId != null) {
            sb.append("ParentFolderId: ").append(parentFolderId).append(",");
        }
        if (documentName != null) {
            sb.append("DocumentName: ").append(documentName).append(",");
        }
        if (contentType != null) {
            sb.append("ContentType: ").append(contentType).append(",");
        }
        if (contentCreatedTimestamp != null) {
            sb.append("ContentCreatedTimestamp: ").append(contentCreatedTimestamp).append(",");
        }
        if (contentModifiedTimestamp != null) {
            sb.append("ContentModifiedTimestamp: ").append(contentModifiedTimestamp).append(",");
        }
        if (documentSizeInBytes != null) {
            sb.append("DocumentSizeInBytes: ").append(documentSizeInBytes).append(",");
        }
        if (stream != null) {
            sb.append("Stream: ").append(stream).append(",");
        }
        sb.append("}");
        return sb.toString();
    }
Sets authentication token.
@param authenticationToken Authentication token.
@return This object for method chaining.
aws-java-sdk-workdocs/src/main/java/com/amazonaws/services/workdocs/UploadDocumentStreamRequest.java