Class Storage.ComposeRequest.Builder (2.22.0)

public static class Storage.ComposeRequest.Builder

Inheritance

java.lang.Object > Storage.ComposeRequest.Builder

Constructors

Builder()

public Builder()

Methods

addSource(Iterable<String> blobs)

public Storage.ComposeRequest.Builder addSource(Iterable<String> blobs)

Add source blobs for compose operation.

Parameter
NameDescription
blobsIterable<String>
Returns
TypeDescription
Storage.ComposeRequest.Builder

addSource(String blob, long generation)

public Storage.ComposeRequest.Builder addSource(String blob, long generation)

Add a source with a specific generation to match.

Parameters
NameDescription
blobString
generationlong
Returns
TypeDescription
Storage.ComposeRequest.Builder

addSource(String[] blobs)

public Storage.ComposeRequest.Builder addSource(String[] blobs)

Add source blobs for compose operation.

Parameter
NameDescription
blobsString[]
Returns
TypeDescription
Storage.ComposeRequest.Builder

build()

public Storage.ComposeRequest build()

Creates a ComposeRequest object.

Returns
TypeDescription
Storage.ComposeRequest

setTarget(BlobInfo target)

public Storage.ComposeRequest.Builder setTarget(BlobInfo target)

Sets compose operation's target blob.

Parameter
NameDescription
targetBlobInfo
Returns
TypeDescription
Storage.ComposeRequest.Builder

setTargetOptions(Storage.BlobTargetOption[] options)

public Storage.ComposeRequest.Builder setTargetOptions(Storage.BlobTargetOption[] options)

Sets compose operation's target blob options.

Parameter
NameDescription
optionsBlobTargetOption[]
Returns
TypeDescription
Storage.ComposeRequest.Builder

setTargetOptions(Iterable<Storage.BlobTargetOption> options)

public Storage.ComposeRequest.Builder setTargetOptions(Iterable<Storage.BlobTargetOption> options)

Sets compose operation's target blob options.

Parameter
NameDescription
optionsIterable<BlobTargetOption>
Returns
TypeDescription
Storage.ComposeRequest.Builder