@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 . |
void |
updateMetadata(Map<String,String> metadata)
Creates or updates the
Account metadata. |
void |
updateTemporaryUrlKey(String temporaryUrlKey)
Replaces the temporary URL key for the
Account . |
@Named(value="account:updateMetadata") void updateMetadata(Map<String,String> metadata)
Account
metadata.metadata
- the metadata to create or update.@Named(value="account:updateTemporaryUrlKey") void updateTemporaryUrlKey(@HeaderParam(value="X-Account-Meta-Temp-Url-Key") String temporaryUrlKey)
Account
.temporaryUrlKey
- the temporary URL key to update.Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.