public static class Storage.ComposeRequest implements Serializable
A class to contain all information needed for a Google Cloud Storage Compose operation. See Also: Compose Operation
Implements
SerializableStatic Methods
newBuilder()
public static Storage.ComposeRequest.Builder newBuilder()
Returns a ComposeRequest
builder.
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.
Name | Description |
sources |
Iterable<String> source blobs names |
target |
BlobInfo target blob |
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.
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 |
Type | Description |
Storage.ComposeRequest |
Methods
getSourceBlobs()
public List<Storage.ComposeRequest.SourceBlob> getSourceBlobs()
Returns compose operation's source blobs.
Type | Description |
List<SourceBlob> |
getTarget()
public BlobInfo getTarget()
Returns compose operation's target blob.
Type | Description |
BlobInfo |
getTargetOptions()
public List<Storage.BlobTargetOption> getTargetOptions()
Returns compose operation's target blob's options.
Type | Description |
List<BlobTargetOption> |