Class B2UploadFileRequest.Builder
- java.lang.Object
-
- com.backblaze.b2.client.structures.B2UploadFileRequest.Builder
-
- Enclosing class:
- B2UploadFileRequest
public static class B2UploadFileRequest.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description B2UploadFileRequest
build()
B2UploadFileRequest.Builder
setCustomField(java.lang.String name, java.lang.String value)
B2UploadFileRequest.Builder
setCustomFields(java.util.Map<java.lang.String,java.lang.String> fileInfo)
B2UploadFileRequest.Builder
setCustomUploadTimestamp(java.lang.Long customUploadTimestamp)
B2UploadFileRequest.Builder
setFileRetention(B2FileRetention fileRetention)
B2UploadFileRequest.Builder
setLegalHold(java.lang.String legalHold)
B2UploadFileRequest.Builder
setListener(B2UploadListener listener)
B2UploadFileRequest.Builder
setServerSideEncryption(B2FileSseForRequest serverSideEncryption)
-
-
-
Method Detail
-
setServerSideEncryption
public B2UploadFileRequest.Builder setServerSideEncryption(B2FileSseForRequest serverSideEncryption)
-
setFileRetention
public B2UploadFileRequest.Builder setFileRetention(B2FileRetention fileRetention)
-
setLegalHold
public B2UploadFileRequest.Builder setLegalHold(java.lang.String legalHold)
-
setCustomField
public B2UploadFileRequest.Builder setCustomField(java.lang.String name, java.lang.String value)
-
setCustomFields
public B2UploadFileRequest.Builder setCustomFields(java.util.Map<java.lang.String,java.lang.String> fileInfo)
-
setListener
public B2UploadFileRequest.Builder setListener(B2UploadListener listener)
-
setCustomUploadTimestamp
public B2UploadFileRequest.Builder setCustomUploadTimestamp(java.lang.Long customUploadTimestamp)
-
build
public B2UploadFileRequest build()
-
-