Cloud Storage API v1beta1 (revision 34)



com.google.api.services.storage.model
Class BucketAccessControls

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.BucketAccessControls
All Implemented Interfaces:
Cloneable, Map<String,Object>

public final class BucketAccessControls
extends GenericJson

An access-control list.

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-http-java-client/wiki/JSON

Author:
Google, Inc.

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
BucketAccessControls()
           
 
Method Summary
 BucketAccessControls clone()
           
 List<BucketAccessControl> getItems()
          The list of items.
 String getKind()
          The kind of item this is.
 BucketAccessControls set(String fieldName, Object value)
           
 BucketAccessControls setItems(List<BucketAccessControl> items)
          The list of items.
 BucketAccessControls setKind(String kind)
          The kind of item this is.
 
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

BucketAccessControls

public BucketAccessControls()
Method Detail

getItems

public List<BucketAccessControl> getItems()
The list of items.

Returns:
value or null for none

setItems

public BucketAccessControls setItems(List<BucketAccessControl> items)
The list of items.

Parameters:
items - items or null for none

getKind

public String getKind()
The kind of item this is. For lists of bucket access control entries, this is always storage#bucketAccessControls.

Returns:
value or null for none

setKind

public BucketAccessControls setKind(String kind)
The kind of item this is. For lists of bucket access control entries, this is always storage#bucketAccessControls.

Parameters:
kind - kind or null for none

set

public BucketAccessControls set(String fieldName,
                                Object value)
Overrides:
set in class GenericJson

clone

public BucketAccessControls clone()
Overrides:
clone in class GenericJson