public static class Storage.CopyRequest.Builder extends Object
Constructor and Description |
---|
Builder() |
public Storage.CopyRequest.Builder setSource(String bucket, String blob)
public Storage.CopyRequest.Builder setSource(BlobId source)
BlobId
.public Storage.CopyRequest.Builder setSourceOptions(Storage.BlobSourceOption... options)
public Storage.CopyRequest.Builder setSourceOptions(Iterable<Storage.BlobSourceOption> options)
public Storage.CopyRequest.Builder setTarget(BlobId targetId)
public Storage.CopyRequest.Builder setTarget(BlobId targetId, Storage.BlobTargetOption... options)
options
.public Storage.CopyRequest.Builder setTarget(BlobInfo target, Storage.BlobTargetOption... options)
target
parameter is used to override
source blob information (e.g. contentType
, contentLanguage
). Target blob
information is set exactly to target
, no information is inherited from the source
blob.public Storage.CopyRequest.Builder setTarget(BlobInfo target, Iterable<Storage.BlobTargetOption> options)
target
parameter is used to override
source blob information (e.g. contentType
, contentLanguage
). Target blob
information is set exactly to target
, no information is inherited from the source
blob.public Storage.CopyRequest.Builder setTarget(BlobId targetId, Iterable<Storage.BlobTargetOption> options)
options
.public Storage.CopyRequest.Builder setMegabytesCopiedPerChunk(Long megabytesCopiedPerChunk)
public Storage.CopyRequest build()
CopyRequest
object.Copyright © 2019 Google LLC. All rights reserved.