Package com.morpheusdata.request
Class FileCopyRequest
java.lang.Object
com.morpheusdata.request.FileCopyRequest
Request object for file copy operations.
-
Field Summary
FieldsModifier and TypeFieldDescriptionAutomatically expand .tar.gz compressed files during upload.The cloud (zone) associated with this file copy operation.Size of the file to be copied.Override the default application/octet-stream content type when serving the file.Name of the file for the file copy request URL.SourceInputStreamto copy.Max timeout in milliseconds to initialize the copy operation.The user initiating the request. -
Constructor Summary
ConstructorsConstructorDescriptionFileCopyRequest(String fileName, User user, InputStream sourceStream, Long contentLength) Convenience constructor for the most common required fields. -
Method Summary
-
Field Details
-
fileName
Name of the file for the file copy request URL. Must not benull. -
user
The user initiating the request. Must not benull. -
sourceStream
SourceInputStreamto copy. Must not benull. -
contentLength
Size of the file to be copied. Must not benull. -
timeout
Max timeout in milliseconds to initialize the copy operation. -
autoExpand
Automatically expand .tar.gz compressed files during upload. -
contentType
Override the default application/octet-stream content type when serving the file. -
cloud
The cloud (zone) associated with this file copy operation.
-
-
Constructor Details
-
FileCopyRequest
public FileCopyRequest() -
FileCopyRequest
Convenience constructor for the most common required fields.- Parameters:
fileName- name of the fileuser- the user initiating the requestsourceStream- source input streamcontentLength- size of the file
-