Package com.dropbox.core.v2.sharing
Class GetSharedLinkMetadataBuilder
- java.lang.Object
-
- com.dropbox.core.v2.sharing.GetSharedLinkMetadataBuilder
-
public class GetSharedLinkMetadataBuilder extends java.lang.Object
The request builder returned byDbxUserSharingRequests.getSharedLinkMetadataBuilder(java.lang.String)
.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 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.
-
-
-
Method Detail
-
withPath
public GetSharedLinkMetadataBuilder withPath(java.lang.String path)
Set value for optional field.- Parameters:
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])*
".- Returns:
- this builder
- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
withLinkPassword
public GetSharedLinkMetadataBuilder withLinkPassword(java.lang.String linkPassword)
Set value for optional field.- Parameters:
linkPassword
- If the shared link has a password, this parameter can be used.- Returns:
- this builder
-
start
public SharedLinkMetadata start() throws SharedLinkErrorException, DbxException
Issues the request.- Throws:
SharedLinkErrorException
DbxException
-
-