|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.appengine.api.files.GSFileOptions.GSFileOptionsBuilder
public static class GSFileOptions.GSFileOptionsBuilder
A builder of GSFileOptions.
| Constructor Summary | |
|---|---|
GSFileOptions.GSFileOptionsBuilder()
|
|
| Method Summary | |
|---|---|
GSFileOptions.GSFileOptionsBuilder |
addUserMetadata(java.lang.String key,
java.lang.String value)
Adds user specific metadata that will be added to object headers when served through Google Storage: "http://code.google.com/apis/storage/docs/reference-headers.html#xgoogmeta" Each entry will be prefixed with x-goog-meta- when serving out. |
GSFileOptions |
build()
|
GSFileOptions.GSFileOptionsBuilder |
setAcl(java.lang.String acl)
Sets the acl of the object. |
GSFileOptions.GSFileOptionsBuilder |
setBucket(java.lang.String bucket)
Sets the name of the bucket. |
GSFileOptions.GSFileOptionsBuilder |
setCacheControl(java.lang.String cacheControl)
Sets the cache control for the object. |
GSFileOptions.GSFileOptionsBuilder |
setContentDisposition(java.lang.String contentDisposition)
Sets the content disposition for the object. |
GSFileOptions.GSFileOptionsBuilder |
setContentEncoding(java.lang.String contentEncoding)
Sets the content encoding for the object. |
GSFileOptions.GSFileOptionsBuilder |
setKey(java.lang.String key)
Sets the key of the object. |
GSFileOptions.GSFileOptionsBuilder |
setMimeType(java.lang.String mimeType)
Sets the mime type of the object. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GSFileOptions.GSFileOptionsBuilder()
| Method Detail |
|---|
public GSFileOptions.GSFileOptionsBuilder setBucket(java.lang.String bucket)
bucket - name of the Google Storage bucket
public GSFileOptions.GSFileOptionsBuilder setKey(java.lang.String key)
key - of the Google Storage object
public GSFileOptions.GSFileOptionsBuilder setMimeType(java.lang.String mimeType)
mimeType - of the Google Storage object.
public GSFileOptions.GSFileOptionsBuilder setAcl(java.lang.String acl)
acl - to use for the Google Storage object.
public GSFileOptions.GSFileOptionsBuilder setCacheControl(java.lang.String cacheControl)
cacheControl - to use for the Google Storage object.
public GSFileOptions.GSFileOptionsBuilder setContentEncoding(java.lang.String contentEncoding)
contentEncoding - to use for the Google Storage object.
public GSFileOptions.GSFileOptionsBuilder setContentDisposition(java.lang.String contentDisposition)
contentDisposition - to use for the Google Storage object.
public GSFileOptions.GSFileOptionsBuilder addUserMetadata(java.lang.String key,
java.lang.String value)
key - value -
public GSFileOptions build()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||