org.jclouds.googlecloudstorage.domain
Class GCSObject
java.lang.Object
org.jclouds.googlecloudstorage.domain.Resource
org.jclouds.googlecloudstorage.domain.GCSObject
public class GCSObject
- extends Resource
This class represent an object in a Google Cloud Storage Bucket.
- See Also:
| Nested classes/interfaces inherited from class org.jclouds.googlecloudstorage.domain.Resource |
Resource.Kind |
getName
public String getName()
getBucket
public String getBucket()
getGeneration
public Long getGeneration()
getMetageneration
public Long getMetageneration()
getContentType
public String getContentType()
getUpdated
public Date getUpdated()
getTimeDeleted
public Date getTimeDeleted()
getStorageClass
public DomainResourceReferences.StorageClass getStorageClass()
getSize
public Long getSize()
getMd5HashCode
public com.google.common.hash.HashCode getMd5HashCode()
getMediaLink
public URI getMediaLink()
getAllMetadata
public Map<String,String> getAllMetadata()
getContentEncoding
public String getContentEncoding()
getContentDisposition
public String getContentDisposition()
getContentLanguage
public String getContentLanguage()
getCacheControl
public String getCacheControl()
getAcl
public Set<ObjectAccessControls> getAcl()
getOwner
public Owner getOwner()
getCrc32cHashcode
public com.google.common.hash.HashCode getCrc32cHashcode()
getComponentCount
public Integer getComponentCount()
equals
public boolean equals(Object obj)
- Overrides:
equals in class Resource
string
protected com.google.common.base.Objects.ToStringHelper string()
- Overrides:
string in class Resource
toString
public String toString()
- Overrides:
toString in class Resource
builder
public static GCSObject.Builder builder()
toBuilder
public GCSObject.Builder toBuilder()
- Overrides:
toBuilder in class Resource
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.