Package com.dropbox.core.v2.sharing
Class ListSharedLinksBuilder
- java.lang.Object
-
- com.dropbox.core.v2.sharing.ListSharedLinksBuilder
-
public class ListSharedLinksBuilder extends java.lang.Object
The request builder returned byDbxUserSharingRequests.listSharedLinksBuilder()
.Use this class to set optional request parameters and complete the request.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
withPath
public ListSharedLinksBuilder withPath(java.lang.String path)
Set value for optional field.- Parameters:
path
- SeeDbxUserSharingRequests.listSharedLinks(com.dropbox.core.v2.sharing.ListSharedLinksArg)
description. Must match pattern "(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)
".- Returns:
- this builder
- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
withCursor
public ListSharedLinksBuilder withCursor(java.lang.String cursor)
Set value for optional field.- Parameters:
cursor
- The cursor returned by your last call toDbxUserSharingRequests.listSharedLinks(com.dropbox.core.v2.sharing.ListSharedLinksArg)
.- Returns:
- this builder
-
withDirectOnly
public ListSharedLinksBuilder withDirectOnly(java.lang.Boolean directOnly)
Set value for optional field.- Parameters:
directOnly
- SeeDbxUserSharingRequests.listSharedLinks(com.dropbox.core.v2.sharing.ListSharedLinksArg)
description.- Returns:
- this builder
-
start
public ListSharedLinksResult start() throws ListSharedLinksErrorException, DbxException
Issues the request.
-
-