|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractMap<String,Object> com.google.api.client.util.GenericData com.google.api.client.json.GenericJson com.google.api.services.storage.model.Bucket
public final class Bucket
A bucket.
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Storage API. For a detailed explanation see: http://code.google.com/p/google-api-java-client/wiki/Json
Upgrade warning: starting with version 1.12 getResponseHeaders()
is removed, instead use
JsonHttpRequest.getLastResponseHeaders()
Nested Class Summary | |
---|---|
static class |
Bucket.Owner
The owner of the bucket. |
static class |
Bucket.Website
The bucket's website configuration. |
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData |
---|
GenericData.Flags |
Nested classes/interfaces inherited from class java.util.AbstractMap |
---|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V> |
Nested classes/interfaces inherited from interface java.util.Map |
---|
Map.Entry<K,V> |
Constructor Summary | |
---|---|
Bucket()
|
Method Summary | |
---|---|
List<BucketAccessControl> |
getAcl()
Access controls on the bucket. |
List<ObjectAccessControl> |
getDefaultObjectAcl()
Default access controls to apply to new objects when no ACL is provided. |
String |
getId()
The name of the bucket. |
String |
getKind()
The kind of item this is. |
String |
getLocation()
The location of the bucket. |
Bucket.Owner |
getOwner()
The owner of the bucket. |
com.google.common.primitives.UnsignedLong |
getProjectId()
The project the bucket belongs to. |
String |
getSelfLink()
The URI of this bucket. |
DateTime |
getTimeCreated()
Creation time of the bucket in RFC 3339 format. |
Bucket.Website |
getWebsite()
The bucket's website configuration. |
Bucket |
setAcl(List<BucketAccessControl> acl)
Access controls on the bucket. |
Bucket |
setDefaultObjectAcl(List<ObjectAccessControl> defaultObjectAcl)
Default access controls to apply to new objects when no ACL is provided. |
Bucket |
setId(String id)
The name of the bucket. |
Bucket |
setKind(String kind)
The kind of item this is. |
Bucket |
setLocation(String location)
The location of the bucket. |
Bucket |
setOwner(Bucket.Owner owner)
The owner of the bucket. |
Bucket |
setProjectId(com.google.common.primitives.UnsignedLong projectId)
The project the bucket belongs to. |
Bucket |
setSelfLink(String selfLink)
The URI of this bucket. |
Bucket |
setTimeCreated(DateTime timeCreated)
Creation time of the bucket in RFC 3339 format. |
Bucket |
setWebsite(Bucket.Website website)
The bucket's website configuration. |
Methods inherited from class com.google.api.client.json.GenericJson |
---|
clone, getFactory, setFactory, toPrettyString, toString |
Methods inherited from class com.google.api.client.util.GenericData |
---|
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys |
Methods inherited from class java.util.AbstractMap |
---|
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Bucket()
Method Detail |
---|
public List<BucketAccessControl> getAcl()
null
.
public Bucket setAcl(List<BucketAccessControl> acl)
null
.
public List<ObjectAccessControl> getDefaultObjectAcl()
null
.
public Bucket setDefaultObjectAcl(List<ObjectAccessControl> defaultObjectAcl)
null
.
public String getId()
null
.
public Bucket setId(String id)
null
.
public String getKind()
null
.
public Bucket setKind(String kind)
null
.
public String getLocation()
null
.
public Bucket setLocation(String location)
null
.
public Bucket.Owner getOwner()
null
.
public Bucket setOwner(Bucket.Owner owner)
null
.
public com.google.common.primitives.UnsignedLong getProjectId()
null
.
public Bucket setProjectId(com.google.common.primitives.UnsignedLong projectId)
null
.
public String getSelfLink()
null
.
public Bucket setSelfLink(String selfLink)
null
.
public DateTime getTimeCreated()
null
.
public Bucket setTimeCreated(DateTime timeCreated)
null
.
public Bucket.Website getWebsite()
null
.
public Bucket setWebsite(Bucket.Website website)
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |