public class GetSharedLinkMetadataBuilder extends 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(String linkPassword)
Set value for optional field.
|
GetSharedLinkMetadataBuilder |
withPath(String path)
Set value for optional field.
|
public GetSharedLinkMetadataBuilder withPath(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])*
".IllegalArgumentException
- If any argument does not meet its
preconditions.public GetSharedLinkMetadataBuilder withLinkPassword(String linkPassword)
linkPassword
- If the shared link has a password, this parameter
can be used.public SharedLinkMetadata start() throws SharedLinkErrorException, DbxException
SharedLinkErrorException
DbxException