public class ListSharedLinksBuilder
extends java.lang.Object
DbxUserSharingRequests.listSharedLinksBuilder()
.
Use this class to set optional request parameters and complete the request.
Modifier and Type | Method and Description |
---|---|
ListSharedLinksResult |
start()
Issues the request.
|
ListSharedLinksBuilder |
withCursor(java.lang.String cursor)
Set value for optional field.
|
ListSharedLinksBuilder |
withDirectOnly(java.lang.Boolean directOnly)
Set value for optional field.
|
ListSharedLinksBuilder |
withPath(java.lang.String path)
Set value for optional field.
|
public ListSharedLinksBuilder withPath(java.lang.String path)
path
- See DbxUserSharingRequests.listSharedLinks(com.dropbox.core.v2.sharing.ListSharedLinksArg)
description. Must match pattern "(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)
".java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public ListSharedLinksBuilder withCursor(java.lang.String cursor)
cursor
- The cursor returned by your last call to DbxUserSharingRequests.listSharedLinks(com.dropbox.core.v2.sharing.ListSharedLinksArg)
.public ListSharedLinksBuilder withDirectOnly(java.lang.Boolean directOnly)
directOnly
- See DbxUserSharingRequests.listSharedLinks(com.dropbox.core.v2.sharing.ListSharedLinksArg)
description.public ListSharedLinksResult start() throws ListSharedLinksErrorException, DbxException