Class B2StartLargeFileRequest.Builder
- java.lang.Object
-
- com.backblaze.b2.client.structures.B2StartLargeFileRequest.Builder
-
- Enclosing class:
- B2StartLargeFileRequest
public static class B2StartLargeFileRequest.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description B2StartLargeFileRequest
build()
B2StartLargeFileRequest.Builder
setCustomField(java.lang.String name, java.lang.String value)
B2StartLargeFileRequest.Builder
setCustomFields(java.util.Map<java.lang.String,java.lang.String> newFileInfo)
B2StartLargeFileRequest.Builder
setCustomUploadTimestamp(java.lang.Long customUploadTimestamp)
B2StartLargeFileRequest.Builder
setFileRetention(B2FileRetention fileRetention)
B2StartLargeFileRequest.Builder
setLargeFileSha1(java.lang.String largeFileSha1)
B2StartLargeFileRequest.Builder
setLegalHold(java.lang.String legalHold)
B2StartLargeFileRequest.Builder
setServerSideEncryption(B2FileSseForRequest serverSideEncryption)
B2StartLargeFileRequest.Builder
setSrcLastModifiedMillisOrNull(long lastModifiedMillis)
Sets one of your custom fields to be this well-known field.
-
-
-
Method Detail
-
setSrcLastModifiedMillisOrNull
public B2StartLargeFileRequest.Builder setSrcLastModifiedMillisOrNull(long lastModifiedMillis)
Sets one of your custom fields to be this well-known field.- Parameters:
lastModifiedMillis
- the time the "source" of this file was last modified.
-
setCustomField
public B2StartLargeFileRequest.Builder setCustomField(java.lang.String name, java.lang.String value)
-
setLargeFileSha1
public B2StartLargeFileRequest.Builder setLargeFileSha1(java.lang.String largeFileSha1)
-
setServerSideEncryption
public B2StartLargeFileRequest.Builder setServerSideEncryption(B2FileSseForRequest serverSideEncryption)
-
setCustomFields
public B2StartLargeFileRequest.Builder setCustomFields(java.util.Map<java.lang.String,java.lang.String> newFileInfo)
-
setFileRetention
public B2StartLargeFileRequest.Builder setFileRetention(B2FileRetention fileRetention)
-
setLegalHold
public B2StartLargeFileRequest.Builder setLegalHold(java.lang.String legalHold)
-
setCustomUploadTimestamp
public B2StartLargeFileRequest.Builder setCustomUploadTimestamp(java.lang.Long customUploadTimestamp)
-
build
public B2StartLargeFileRequest build()
-
-