Creates a StorageMetadata object.
|
StorageMetadata.Builder()
Creates an empty set of metadata.
|
|
|
StorageMetadata.Builder(StorageMetadata original)
Used to create a modified version of the original set of metadata.
|
| StorageMetadata |
build()
|
| String | |
| String | |
| String | |
| String | |
| String | |
| StorageMetadata.Builder | |
| StorageMetadata.Builder |
setContentDisposition(String contentDisposition)
Changes the content disposition for the
StorageReference |
| StorageMetadata.Builder | |
| StorageMetadata.Builder | |
| StorageMetadata.Builder | |
| StorageMetadata.Builder |
Creates an empty set of metadata.
Used to create a modified version of the original set of metadata.
| original | The source of the metadata to build from. |
|---|
Sets the Cache Control header for the StorageReference
| cacheControl | the new Cache Control setting. |
|---|
Changes the content disposition for the StorageReference
| contentDisposition | the new content disposition to use. |
|---|
Changes the content encoding for the StorageReference
| contentEncoding | the new encoding to use. |
|---|
Changes the content language for the StorageReference
| contentLanguage | the new content language. |
|---|
Changes the content Type of this associated StorageReference
| contentType | the new Content Type. |
|---|
Sets custom metadata
| key | the key of the new value |
|---|---|
| value | the value to set. |