org.jclouds.googlecloudstorage.domain
Class Bucket

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

public class Bucket
extends Resource

The Bucket represents a bucket in Google Cloud Storage. There is a single global namespace shared by all buckets.

See Also:

Nested Class Summary
static class Bucket.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 Bucket.Builder builder()
           
 boolean equals(Object obj)
           
 Set<BucketAccessControls> getAcl()
           
 Set<BucketCors> getCors()
           
 Set<DefaultObjectAccessControls> getDefaultObjectAcl()
           
 BucketLifeCycle getLifeCycle()
           
 DomainResourceRefferences.Location getLocation()
           
 Logging getLogging()
           
 Long getMetageneration()
           
 String getName()
           
 Owner getOwner()
           
 Long getProjectNumber()
           
 DomainResourceRefferences.StorageClass getStorageClass()
           
 Date getTimeCreated()
           
 Versioning getVersioning()
           
 Website getWebsite()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 Bucket.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

getProjectNumber

public Long getProjectNumber()

getName

public String getName()

getTimeCreated

public Date getTimeCreated()

getMetageneration

public Long getMetageneration()

getAcl

public Set<BucketAccessControls> getAcl()

getDefaultObjectAcl

public Set<DefaultObjectAccessControls> getDefaultObjectAcl()

getOwner

public Owner getOwner()

getLocation

public DomainResourceRefferences.Location getLocation()

getWebsite

public Website getWebsite()

getLogging

public Logging getLogging()

getVersioning

public Versioning getVersioning()

getCors

public Set<BucketCors> getCors()

getLifeCycle

public BucketLifeCycle getLifeCycle()

getStorageClass

public DomainResourceRefferences.StorageClass getStorageClass()

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 Bucket.Builder builder()

toBuilder

public Bucket.Builder toBuilder()
Overrides:
toBuilder in class Resource


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.