Class Storage.ComposeRequest.Builder (2.45.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
Name Description
blobs Iterable<String>
Returns
Type Description
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
Name Description
blob String
generation long
Returns
Type Description
Storage.ComposeRequest.Builder

addSource(String[] blobs)

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

Add source blobs for compose operation.

Parameter
Name Description
blobs String[]
Returns
Type Description
Storage.ComposeRequest.Builder

build()

public Storage.ComposeRequest build()

Creates a ComposeRequest object.

Returns
Type Description
Storage.ComposeRequest

setTarget(BlobInfo target)

public Storage.ComposeRequest.Builder setTarget(BlobInfo target)

Sets compose operation's target blob.

Parameter
Name Description
target BlobInfo
Returns
Type Description
Storage.ComposeRequest.Builder

setTargetOptions(Storage.BlobTargetOption[] options)

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

Sets compose operation's target blob options.

Parameter
Name Description
options BlobTargetOption[]
Returns
Type Description
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
Name Description
options Iterable<BlobTargetOption>
Returns
Type Description
Storage.ComposeRequest.Builder