org.jclouds.googlecloudstorage.domain
Class GCSObject.Builder
java.lang.Object
org.jclouds.googlecloudstorage.domain.Resource.Builder<GCSObject.Builder>
org.jclouds.googlecloudstorage.domain.GCSObject.Builder
- Enclosing class:
- GCSObject
protected static final class GCSObject.Builder
- extends Resource.Builder<GCSObject.Builder>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GCSObject.Builder
protected GCSObject.Builder()
name
protected GCSObject.Builder name(String name)
bucket
protected GCSObject.Builder bucket(String bucket)
generation
protected GCSObject.Builder generation(Long generation)
metageneration
protected GCSObject.Builder metageneration(Long metageneration)
customMetadata
protected GCSObject.Builder customMetadata(Map<String,String> metadata)
addCustomMetadata
protected GCSObject.Builder addCustomMetadata(String key,
String value)
size
protected GCSObject.Builder size(Long size)
componentCount
protected GCSObject.Builder componentCount(Integer componentCount)
contentType
protected GCSObject.Builder contentType(String contentType)
md5Hash
protected GCSObject.Builder md5Hash(String md5Hash)
- Requires base64 encoded crc32c string
mediaLink
protected GCSObject.Builder mediaLink(URI mediaLink)
contentEncoding
protected GCSObject.Builder contentEncoding(String contentEncoding)
contentDisposition
protected GCSObject.Builder contentDisposition(String contentDisposition)
contentLanguage
protected GCSObject.Builder contentLanguage(String contentLanguage)
cacheControl
protected GCSObject.Builder cacheControl(String cacheControl)
updated
protected GCSObject.Builder updated(Date updated)
timeDeleted
protected GCSObject.Builder timeDeleted(Date timeDeleted)
owner
protected GCSObject.Builder owner(Owner owner)
storageClass
protected GCSObject.Builder storageClass(DomainResourceReferences.StorageClass storageClass)
addAcl
protected GCSObject.Builder addAcl(ObjectAccessControls bucketAccessControls)
acl
protected GCSObject.Builder acl(Set<ObjectAccessControls> acl)
crc32c
protected GCSObject.Builder crc32c(String crc32c)
- Requires base64 encoded crc32c string
self
protected GCSObject.Builder self()
- Specified by:
self in class Resource.Builder<GCSObject.Builder>
build
public GCSObject build()
- Overrides:
build in class Resource.Builder<GCSObject.Builder>
fromGCSObject
protected GCSObject.Builder fromGCSObject(GCSObject in)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.