Class FilesRemoteUpdateRequest.FilesRemoteUpdateRequestBuilder
java.lang.Object
com.slack.api.methods.request.files.remote.FilesRemoteUpdateRequest.FilesRemoteUpdateRequestBuilder
- Enclosing class:
- FilesRemoteUpdateRequest
public static class FilesRemoteUpdateRequest.FilesRemoteUpdateRequestBuilder extends Object
-
Method Summary
Modifier and Type Method Description FilesRemoteUpdateRequest
build()
FilesRemoteUpdateRequest.FilesRemoteUpdateRequestBuilder
externalId(String externalId)
Creator defined GUID for the file.FilesRemoteUpdateRequest.FilesRemoteUpdateRequestBuilder
externalUrl(String externalUrl)
URL of the remote file.FilesRemoteUpdateRequest.FilesRemoteUpdateRequestBuilder
filetype(String filetype)
type of fileFilesRemoteUpdateRequest.FilesRemoteUpdateRequestBuilder
indexableFileContents(byte[] indexableFileContents)
File containing contents that can be used to improve searchability for the remote file.FilesRemoteUpdateRequest.FilesRemoteUpdateRequestBuilder
previewImage(byte[] previewImage)
Preview of the document via multipart/form-data.FilesRemoteUpdateRequest.FilesRemoteUpdateRequestBuilder
title(String title)
Title of the file being shared.FilesRemoteUpdateRequest.FilesRemoteUpdateRequestBuilder
token(String token)
Authentication token.String
toString()
-
Method Details
-
token
Authentication token. Requires scope: `remote_files:write`- Returns:
this
.
-
externalId
Creator defined GUID for the file.- Returns:
this
.
-
externalUrl
URL of the remote file.- Returns:
this
.
-
title
Title of the file being shared.- Returns:
this
.
-
filetype
type of file- Returns:
this
.
-
indexableFileContents
public FilesRemoteUpdateRequest.FilesRemoteUpdateRequestBuilder indexableFileContents(byte[] indexableFileContents)File containing contents that can be used to improve searchability for the remote file.- Returns:
this
.
-
previewImage
Preview of the document via multipart/form-data.- Returns:
this
.
-
build
-
toString
-