public abstract static class BlobInfo.Builder extends Object
BlobInfo.| Constructor and Description |
|---|
BlobInfo.Builder() |
| Modifier and Type | Method and Description |
|---|---|
abstract BlobInfo.Builder |
acl(List<Acl> acl)
Sets the blob's access control configuration.
|
abstract BlobInfo.Builder |
blobId(BlobId blobId)
Sets the blob identity.
|
abstract BlobInfo |
build()
Creates a
BlobInfo object. |
abstract BlobInfo.Builder |
cacheControl(String cacheControl)
Sets the blob's data cache control.
|
abstract BlobInfo.Builder |
contentDisposition(String contentDisposition)
Sets the blob's data content disposition.
|
abstract BlobInfo.Builder |
contentEncoding(String contentEncoding)
Sets the blob's data content encoding.
|
abstract BlobInfo.Builder |
contentLanguage(String contentLanguage)
Sets the blob's data content language.
|
abstract BlobInfo.Builder |
contentType(String contentType)
Sets the blob's data content type.
|
abstract 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 |
md5(String md5)
Sets the MD5 hash of blob's data.
|
abstract BlobInfo.Builder |
metadata(Map<String,String> metadata)
Sets the blob's user provided metadata.
|
public abstract BlobInfo.Builder blobId(BlobId blobId)
public abstract BlobInfo.Builder contentType(String contentType)
public abstract BlobInfo.Builder contentDisposition(String contentDisposition)
public abstract BlobInfo.Builder contentLanguage(String contentLanguage)
public abstract BlobInfo.Builder contentEncoding(String contentEncoding)
public abstract BlobInfo.Builder cacheControl(String cacheControl)
public abstract BlobInfo.Builder acl(List<Acl> acl)
public abstract BlobInfo.Builder md5(String md5)
public abstract BlobInfo.Builder crc32c(String crc32c)
public abstract BlobInfo.Builder metadata(Map<String,String> metadata)
public abstract BlobInfo build()
BlobInfo object.Copyright © 2016 Google. All rights reserved.