Cloud Storage API v1beta2 (revision 2)



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

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.Website
All Implemented Interfaces:
Cloneable, Map<String,Object>
Enclosing class:
Bucket

public static final class Bucket.Website
extends GenericJson

The bucket's website configuration.


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.Website()
           
 
Method Summary
 String getMainPageSuffix()
          Behaves as the bucket's directory index where missing objects are treated as potential directories.
 String getNotFoundPage()
          The custom object to return when a requested resource is not found.
 Bucket.Website setMainPageSuffix(String mainPageSuffix)
          Behaves as the bucket's directory index where missing objects are treated as potential directories.
 Bucket.Website setNotFoundPage(String notFoundPage)
          The custom object to return when a requested resource is not found.
 
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

Bucket.Website

public Bucket.Website()
Method Detail

getMainPageSuffix

public String getMainPageSuffix()
Behaves as the bucket's directory index where missing objects are treated as potential directories. The value returned may be null.


setMainPageSuffix

public Bucket.Website setMainPageSuffix(String mainPageSuffix)
Behaves as the bucket's directory index where missing objects are treated as potential directories. The value set may be null.


getNotFoundPage

public String getNotFoundPage()
The custom object to return when a requested resource is not found. The value returned may be null.


setNotFoundPage

public Bucket.Website setNotFoundPage(String notFoundPage)
The custom object to return when a requested resource is not found. The value set may be null.