public class GetSharedLinkMetadataBuilder
extends java.lang.Object
DbxUserSharingRequests.getSharedLinkMetadataBuilder(java.lang.String)
.
Use this class to set optional request parameters and complete the request.
Modifier and Type | Method and Description |
---|---|
SharedLinkMetadata |
start()
Issues the request.
|
GetSharedLinkMetadataBuilder |
withLinkPassword(java.lang.String linkPassword)
Set value for optional field.
|
GetSharedLinkMetadataBuilder |
withPath(java.lang.String path)
Set value for optional field.
|
public GetSharedLinkMetadataBuilder withPath(java.lang.String path)
path
- If the shared link is to a folder, this parameter can be
used to retrieve the metadata for a specific file or sub-folder in
this folder. A relative path should be used. Must match pattern
"/(.|[\\r\\n])*
".java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public GetSharedLinkMetadataBuilder withLinkPassword(java.lang.String linkPassword)
linkPassword
- If the shared link has a password, this parameter
can be used.public SharedLinkMetadata start() throws SharedLinkErrorException, DbxException
SharedLinkErrorException
DbxException