Class B2CopyFileRequest.Builder
- java.lang.Object
-
- com.backblaze.b2.client.structures.B2CopyFileRequest.Builder
-
- Enclosing class:
- B2CopyFileRequest
public static class B2CopyFileRequest.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder(java.lang.String sourceFileId, java.lang.String fileName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description B2CopyFileRequest
build()
B2CopyFileRequest.Builder
setContentType(java.lang.String contentType)
B2CopyFileRequest.Builder
setDestinationBucketId(java.lang.String destinationBucketId)
B2CopyFileRequest.Builder
setDestinationServerSideEncryption(B2FileSseForRequest destinationServerSideEncryption)
B2CopyFileRequest.Builder
setFileInfo(java.util.Map<java.lang.String,java.lang.String> fileInfo)
B2CopyFileRequest.Builder
setFileRetention(B2FileRetention fileRetention)
B2CopyFileRequest.Builder
setLegalHold(java.lang.String legalHold)
B2CopyFileRequest.Builder
setMetadataDirective(java.lang.String metadataDirective)
B2CopyFileRequest.Builder
setRange(B2ByteRange range)
B2CopyFileRequest.Builder
setSourceServerSideEncryption(B2FileSseForRequest sourceServerSideEncryption)
-
-
-
Method Detail
-
setDestinationBucketId
public B2CopyFileRequest.Builder setDestinationBucketId(java.lang.String destinationBucketId)
-
setRange
public B2CopyFileRequest.Builder setRange(B2ByteRange range)
-
setMetadataDirective
public B2CopyFileRequest.Builder setMetadataDirective(java.lang.String metadataDirective)
-
setContentType
public B2CopyFileRequest.Builder setContentType(java.lang.String contentType)
-
setFileInfo
public B2CopyFileRequest.Builder setFileInfo(java.util.Map<java.lang.String,java.lang.String> fileInfo)
-
setSourceServerSideEncryption
public B2CopyFileRequest.Builder setSourceServerSideEncryption(B2FileSseForRequest sourceServerSideEncryption)
-
setDestinationServerSideEncryption
public B2CopyFileRequest.Builder setDestinationServerSideEncryption(B2FileSseForRequest destinationServerSideEncryption)
-
setFileRetention
public B2CopyFileRequest.Builder setFileRetention(B2FileRetention fileRetention)
-
setLegalHold
public B2CopyFileRequest.Builder setLegalHold(java.lang.String legalHold)
-
build
public B2CopyFileRequest build()
-
-