Cloud Storage API v1beta1 (revision 34)
com.google.api.services.storage.model
Class Bucket.Website
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.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 classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Bucket.Website
public Bucket.Website()
getMainPageSuffix
public String getMainPageSuffix()
- Behaves as the bucket's directory index where missing objects are treated as potential
directories.
- Returns:
- value or
null
for none
setMainPageSuffix
public Bucket.Website setMainPageSuffix(String mainPageSuffix)
- Behaves as the bucket's directory index where missing objects are treated as potential
directories.
- Parameters:
mainPageSuffix
- mainPageSuffix or null
for none
getNotFoundPage
public String getNotFoundPage()
- The custom object to return when a requested resource is not found.
- Returns:
- value or
null
for none
setNotFoundPage
public Bucket.Website setNotFoundPage(String notFoundPage)
- The custom object to return when a requested resource is not found.
- Parameters:
notFoundPage
- notFoundPage or null
for none
set
public Bucket.Website set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
clone
public Bucket.Website clone()
- Overrides:
clone
in class GenericJson