public class RenameBuilder
extends java.lang.Object
DbxUserCloudDocsRequests.renameBuilder().
Use this class to set optional request parameters and complete the request.
| Modifier and Type | Method and Description |
|---|---|
RenameResult |
start()
Issues the request.
|
RenameBuilder |
withFileId(java.lang.String fileId)
Set value for optional field.
|
RenameBuilder |
withTitle(java.lang.String title)
Set value for optional field.
|
public RenameBuilder withFileId(java.lang.String fileId)
If left unset or set to null, defaults to "\"\"".
fileId - The API ID ("id:...") associated with the Cloud Doc. Must
not be null. Defaults to "\"\"" when set to null.java.lang.IllegalArgumentException - If any argument does not meet its
preconditions.public RenameBuilder withTitle(java.lang.String title)
If left unset or set to null, defaults to "\"\"".
title - The new title of the doc, excluding extension. Must not be
null. Defaults to "\"\"" when set to null.java.lang.IllegalArgumentException - If any argument does not meet its
preconditions.public RenameResult start() throws RenameErrorException, DbxException
RenameErrorExceptionDbxException