@Beta
public interface AccountApi
X-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}
Modifier and Type | Method and Description |
---|---|
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 . |
@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.Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.