Package org.openstack4j.api.storage
Interface ObjectStorageAccountService
-
- All Superinterfaces:
RestService
- All Known Implementing Classes:
ObjectStorageAccountServiceImpl
public interface ObjectStorageAccountService extends RestService
The Object Storage Account based services- Author:
- Jeremy Unruh
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleandeleteMetadata(Map<String,String> metadata)Deletes theSwiftAccountmetadata.SwiftAccountget()Gets theSwiftAccount.booleanupdateMetadata(Map<String,String> metadata)Creates or updates theSwiftAccountmetadata.booleanupdateTemporaryUrlKey(String temporaryUrlKey)Replaces the temporary URL key for theSwiftAccount
-
-
-
Method Detail
-
get
SwiftAccount get()
Gets theSwiftAccount.- Returns:
- The
SwiftAccountobject.
-
updateMetadata
boolean updateMetadata(Map<String,String> metadata)
Creates or updates theSwiftAccountmetadata.- Parameters:
metadata- the metadata to create or update.- Returns:
- true if the metadata was created or updated successfully, false if not
-
deleteMetadata
boolean deleteMetadata(Map<String,String> metadata)
Deletes theSwiftAccountmetadata.- Parameters:
metadata- the metadata to delete.- Returns:
- true if the metadata was deleted successfully, false if not
-
updateTemporaryUrlKey
boolean updateTemporaryUrlKey(String temporaryUrlKey)
Replaces the temporary URL key for theSwiftAccount- Parameters:
temporaryUrlKey- the temporary URL key- Returns:
- true if the update was successful
-
-