Cloud Storage API v1beta2 (revision 2)
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.
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
.