Class Storage.ComposeRequest (2.1.10)

public static class Storage.ComposeRequest implements Serializable

A class to contain all information needed for a Google Cloud Storage Compose operation.

Inheritance

java.lang.Object > Storage.ComposeRequest

Implements

Serializable

Methods

getSourceBlobs()

public List<Storage.ComposeRequest.SourceBlob> getSourceBlobs()

Returns compose operation's source blobs.

Returns
Type Description
List<SourceBlob>

getTarget()

public BlobInfo getTarget()

Returns compose operation's target blob.

Returns
Type Description
BlobInfo

getTargetOptions()

public List<Storage.BlobTargetOption> getTargetOptions()

Returns compose operation's target blob's options.

Returns
Type Description
List<BlobTargetOption>

newBuilder()

public static Storage.ComposeRequest.Builder newBuilder()

Returns a ComposeRequest builder.

Returns
Type Description
Storage.ComposeRequest.Builder

of(Iterable<String> sources, BlobInfo target)

public static Storage.ComposeRequest of(Iterable<String> sources, BlobInfo target)

Creates a ComposeRequest object.

Parameters
Name Description
sources Iterable<String>

source blobs names

target BlobInfo

target blob

Returns
Type Description
Storage.ComposeRequest

of(String bucket, Iterable<String> sources, String target)

public static Storage.ComposeRequest of(String bucket, Iterable<String> sources, String target)

Creates a ComposeRequest object.

Parameters
Name Description
bucket String

name of the bucket where the compose operation takes place

sources Iterable<String>

source blobs names

target String

target blob name

Returns
Type Description
Storage.ComposeRequest