|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Beta public interface AccountApi
Provides access to the OpenStack Object Storage (Swift) Account API features.
Account metadata prefixed withX-Account-Meta- will be converted
appropriately using a binder/parser.
This API is new to jclouds and hence is in Beta. That means we need people to use it and give us feedback. Based
on that feedback, minor changes to the interfaces may happen. This code will replace
org.jclouds.openstack.swift.SwiftClient in jclouds 2.0 and it is recommended you adopt it sooner than later.
Account}| Method Summary | |
|---|---|
boolean |
deleteMetadata(Map<String,String> metadata)
Deletes metadata from the Account. |
Account |
get()
Gets the Account. |
boolean |
updateMetadata(Map<String,String> metadata)
Creates or updates the Account metadata. |
boolean |
updateTemporaryUrlKey(String temporaryUrlKey)
Replaces the temporary URL key for the Account. |
| Method Detail |
|---|
@Named(value="account:get") Account get()
Account.
Account object.@Named(value="account:updateMetadata") boolean updateMetadata(Map<String,String> metadata)
Account metadata.
metadata - the metadata to create or update.
true if the metadata was successfully created or updated,
false if not.
@Named(value="account:updateTemporaryUrlKey")
boolean updateTemporaryUrlKey(@HeaderParam(value="X-Account-Meta-Temp-Url-Key")
String temporaryUrlKey)
Account.
temporaryUrlKey - the temporary URL key to update.
true if the temporary URL key was successfully updated,
false if not.@Named(value="account:deleteMetadata") boolean deleteMetadata(Map<String,String> metadata)
Account.
metadata - the metadata to delete.
true if the metadata was successfully deleted,
false if not.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||