| Package | Description |
|---|---|
| com.google.cloud.storage |
A client to Google Cloud Storage.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
Blob.Builder
Builder for
Blob. |
| Modifier and Type | Method and Description |
|---|---|
abstract BlobInfo.Builder |
BlobInfo.Builder.acl(List<Acl> acl)
Sets the blob's access control configuration.
|
abstract BlobInfo.Builder |
BlobInfo.Builder.blobId(BlobId blobId)
Sets the blob identity.
|
static BlobInfo.Builder |
BlobInfo.builder(BlobId blobId) |
static BlobInfo.Builder |
BlobInfo.builder(BucketInfo bucketInfo,
String name)
Returns a
BlobInfo builder where blob identity is set using the provided values. |
static BlobInfo.Builder |
BlobInfo.builder(BucketInfo bucketInfo,
String name,
Long generation)
Returns a
BlobInfo builder where blob identity is set using the provided values. |
static BlobInfo.Builder |
BlobInfo.builder(String bucket,
String name)
Returns a
BlobInfo builder where blob identity is set using the provided values. |
static BlobInfo.Builder |
BlobInfo.builder(String bucket,
String name,
Long generation)
Returns a
BlobInfo builder where blob identity is set using the provided values. |
abstract BlobInfo.Builder |
BlobInfo.Builder.cacheControl(String cacheControl)
Sets the blob's data cache control.
|
abstract BlobInfo.Builder |
BlobInfo.Builder.contentDisposition(String contentDisposition)
Sets the blob's data content disposition.
|
abstract BlobInfo.Builder |
BlobInfo.Builder.contentEncoding(String contentEncoding)
Sets the blob's data content encoding.
|
abstract BlobInfo.Builder |
BlobInfo.Builder.contentLanguage(String contentLanguage)
Sets the blob's data content language.
|
abstract BlobInfo.Builder |
BlobInfo.Builder.contentType(String contentType)
Sets the blob's data content type.
|
abstract BlobInfo.Builder |
BlobInfo.Builder.crc32c(String crc32c)
Sets the CRC32C checksum of blob's data as described in
RFC 4960, Appendix B; encoded in
base64 in big-endian order.
|
abstract BlobInfo.Builder |
BlobInfo.Builder.md5(String md5)
Sets the MD5 hash of blob's data.
|
abstract BlobInfo.Builder |
BlobInfo.Builder.metadata(Map<String,String> metadata)
Sets the blob's user provided metadata.
|
BlobInfo.Builder |
BlobInfo.toBuilder()
Returns a builder for the current blob.
|
Copyright © 2016 Google. All rights reserved.