Class Storage.ComposeRequest.Builder (2.70.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static class Storage.ComposeRequest.Builder
Constructors
Builder()
Methods
addSource(Iterable<String> blobs)
public Storage.ComposeRequest.Builder addSource(Iterable<String> blobs)
Add source blobs for compose operation.
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
|
addSource(String[] blobs)
public Storage.ComposeRequest.Builder addSource(String[] blobs)
Add source blobs for compose operation.
| Parameter |
| Name |
Description |
blobs |
String[]
|
build()
public Storage.ComposeRequest build()
Creates a ComposeRequest object.
setDeleteSourceObjects(boolean deleteSourceObjects)
public Storage.ComposeRequest.Builder setDeleteSourceObjects(boolean deleteSourceObjects)
Sets whether to delete source blobs after compose operation.
| Parameter |
| Name |
Description |
deleteSourceObjects |
boolean
|
setTarget(BlobInfo target)
public Storage.ComposeRequest.Builder setTarget(BlobInfo target)
Sets compose operation's target blob.
| Parameter |
| Name |
Description |
target |
BlobInfo
|
setTargetOptions(Storage.BlobTargetOption[] options)
public Storage.ComposeRequest.Builder setTargetOptions(Storage.BlobTargetOption[] options)
Sets compose operation's target blob options.
setTargetOptions(Iterable<Storage.BlobTargetOption> options)
public Storage.ComposeRequest.Builder setTargetOptions(Iterable<Storage.BlobTargetOption> options)
Sets compose operation's target blob options.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-07-31 UTC.
[null,null,["Last updated 2026-07-31 UTC."],[],[]]