Cloud Storage API v1beta1 (revision 34)



com.google.api.services.storage.model
Class Bucket.Owner

java.lang.Object
  extended by java.util.AbstractMap<String,Object>
      extended by com.google.api.client.util.GenericData
          extended by com.google.api.client.json.GenericJson
              extended by com.google.api.services.storage.model.Bucket.Owner
All Implemented Interfaces:
Cloneable, Map<String,Object>
Enclosing class:
Bucket

public static final class Bucket.Owner
extends GenericJson

The owner of the bucket. This will always be the project team's owner group.


Nested Class Summary
 
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.Owner()
           
 
Method Summary
 Bucket.Owner clone()
           
 String getEntity()
          The entity, in the form group-groupId.
 String getEntityId()
          The ID for the entity.
 Bucket.Owner set(String fieldName, Object value)
           
 Bucket.Owner setEntity(String entity)
          The entity, in the form group-groupId.
 Bucket.Owner setEntityId(String entityId)
          The ID for the entity.
 
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
 
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, 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

Bucket.Owner

public Bucket.Owner()
Method Detail

getEntity

public String getEntity()
The entity, in the form group-groupId.

Returns:
value or null for none

setEntity

public Bucket.Owner setEntity(String entity)
The entity, in the form group-groupId.

Parameters:
entity - entity or null for none

getEntityId

public String getEntityId()
The ID for the entity.

Returns:
value or null for none

setEntityId

public Bucket.Owner setEntityId(String entityId)
The ID for the entity.

Parameters:
entityId - entityId or null for none

set

public Bucket.Owner set(String fieldName,
                        Object value)
Overrides:
set in class GenericJson

clone

public Bucket.Owner clone()
Overrides:
clone in class GenericJson