Interface ResumableFileUpload.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ResumableFileUpload.Builder,ResumableFileUpload>,SdkBuilder<ResumableFileUpload.Builder,ResumableFileUpload>
- Enclosing class:
- ResumableFileUpload
public static interface ResumableFileUpload.Builder extends CopyableBuilder<ResumableFileUpload.Builder,ResumableFileUpload>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ResumableFileUpload.BuilderfileLastModified(Instant fileLastModified)Sets the last modified time of the objectResumableFileUpload.BuilderfileLength(Long fileLength)Sets the file lengthResumableFileUpload.BuildermultipartUploadId(String multipartUploadId)Sets multipart ID associated with this transferResumableFileUpload.BuilderpartSizeInBytes(Long partSizeInBytes)The part size associated with this transferResumableFileUpload.BuildertotalParts(Long totalParts)Sets the total number of partsResumableFileUpload.BuildertransferredParts(Long transferredParts)Set the total number of parts transferreddefault ResumableFileUpload.BuilderuploadFileRequest(Consumer<UploadFileRequest.Builder> uploadFileRequestBuilder)TheUploadFileRequestrequestResumableFileUpload.BuilderuploadFileRequest(UploadFileRequest uploadFileRequest)Sets the upload file request-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
-
-
-
Method Detail
-
uploadFileRequest
ResumableFileUpload.Builder uploadFileRequest(UploadFileRequest uploadFileRequest)
Sets the upload file request- Parameters:
uploadFileRequest- the upload file request- Returns:
- a reference to this object so that method calls can be chained together.
-
uploadFileRequest
default ResumableFileUpload.Builder uploadFileRequest(Consumer<UploadFileRequest.Builder> uploadFileRequestBuilder)
TheUploadFileRequestrequestThis is a convenience method that creates an instance of the
UploadFileRequestbuilder avoiding the need to create one manually viaUploadFileRequest.builder().- Parameters:
uploadFileRequestBuilder- the upload file request builder- Returns:
- a reference to this object so that method calls can be chained together.
- See Also:
uploadFileRequest(UploadFileRequest)
-
multipartUploadId
ResumableFileUpload.Builder multipartUploadId(String multipartUploadId)
Sets multipart ID associated with this transfer- Parameters:
multipartUploadId- the multipart ID- Returns:
- a reference to this object so that method calls can be chained together.
-
fileLastModified
ResumableFileUpload.Builder fileLastModified(Instant fileLastModified)
Sets the last modified time of the object- Parameters:
fileLastModified- the last modified time of the file- Returns:
- a reference to this object so that method calls can be chained together.
-
fileLength
ResumableFileUpload.Builder fileLength(Long fileLength)
Sets the file length- Parameters:
fileLength- the last modified time of the object- Returns:
- a reference to this object so that method calls can be chained together.
-
totalParts
ResumableFileUpload.Builder totalParts(Long totalParts)
Sets the total number of parts- Parameters:
totalParts- the total number of parts- Returns:
- a reference to this object so that method calls can be chained together.
-
transferredParts
ResumableFileUpload.Builder transferredParts(Long transferredParts)
Set the total number of parts transferred- Parameters:
transferredParts- the number of parts completed- Returns:
- a reference to this object so that method calls can be chained together.
-
partSizeInBytes
ResumableFileUpload.Builder partSizeInBytes(Long partSizeInBytes)
The part size associated with this transfer- Parameters:
partSizeInBytes- the part size in bytes- Returns:
- a reference to this object so that method calls can be chained together.
-
-