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
-
-
-
Method Detail
-
token
public FilesRemoteUpdateRequest.FilesRemoteUpdateRequestBuilder token(String token)
Authentication token. Requires scope: `remote_files:write`- Returns:
this
.
-
externalId
public FilesRemoteUpdateRequest.FilesRemoteUpdateRequestBuilder externalId(String externalId)
Creator defined GUID for the file.- Returns:
this
.
-
externalUrl
public FilesRemoteUpdateRequest.FilesRemoteUpdateRequestBuilder externalUrl(String externalUrl)
URL of the remote file.- Returns:
this
.
-
title
public FilesRemoteUpdateRequest.FilesRemoteUpdateRequestBuilder title(String title)
Title of the file being shared.- Returns:
this
.
-
filetype
public FilesRemoteUpdateRequest.FilesRemoteUpdateRequestBuilder filetype(String 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
public FilesRemoteUpdateRequest.FilesRemoteUpdateRequestBuilder previewImage(byte[] previewImage)
Preview of the document via multipart/form-data.- Returns:
this
.
-
build
public FilesRemoteUpdateRequest build()
-
-