org.jclouds.googlecloudstorage.domain
Class GCSObject

java.lang.Object
  extended by org.jclouds.googlecloudstorage.domain.Resource
      extended by org.jclouds.googlecloudstorage.domain.GCSObject

public class GCSObject
extends Resource

This class represent an object in a Google Cloud Storage Bucket.

See Also:

Nested Class Summary
protected static class GCSObject.Builder
           
 
Nested classes/interfaces inherited from class org.jclouds.googlecloudstorage.domain.Resource
Resource.Kind
 
Field Summary
 
Fields inherited from class org.jclouds.googlecloudstorage.domain.Resource
etag, id, kind, selfLink
 
Method Summary
static GCSObject.Builder builder()
           
 boolean equals(Object obj)
           
 Set<ObjectAccessControls> getAcl()
           
 Map<String,String> getAllMetadata()
           
 String getBucket()
           
 String getCacheControl()
           
 Integer getComponentCount()
           
 String getContentDisposition()
           
 String getContentEncoding()
           
 String getContentLanguage()
           
 String getContentType()
           
 com.google.common.hash.HashCode getCrc32cHashcode()
           
 Long getGeneration()
           
 com.google.common.hash.HashCode getMd5HashCode()
           
 URI getMediaLink()
           
 Long getMetageneration()
           
 String getName()
           
 Owner getOwner()
           
 Long getSize()
           
 DomainResourceReferences.StorageClass getStorageClass()
           
 Date getTimeDeleted()
           
 Date getUpdated()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 GCSObject.Builder toBuilder()
           
 String toString()
           
 
Methods inherited from class org.jclouds.googlecloudstorage.domain.Resource
getEtag, getId, getKind, getSelfLink, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

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.