org.jclouds.vcloud.director.v1_5.features
Interface MetadataApi.Writeable

All Superinterfaces:
MetadataApi, MetadataApi.Readable
Enclosing interface:
MetadataApi

public static interface MetadataApi.Writeable
extends MetadataApi.Readable


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jclouds.vcloud.director.v1_5.features.MetadataApi
MetadataApi.Readable, MetadataApi.Writeable
 
Method Summary
 Task put(String key, String value)
          Sets the metadata for the particular key for the media to the value provided.
 Task putAll(Map<String,String> metadata)
          Merges the metadata for a media with the information provided.
 Task remove(String key)
          Deletes a metadata entry.
 
Methods inherited from interface org.jclouds.vcloud.director.v1_5.features.MetadataApi.Readable
get, get
 

Method Detail

putAll

Task putAll(Map<String,String> metadata)
Merges the metadata for a media with the information provided.

Returns:
a task. This operation is asynchronous and the user should monitor the returned task status in order to check when it is completed.

put

Task put(String key,
         String value)
Sets the metadata for the particular key for the media to the value provided. Note: this will replace any existing metadata information

Returns:
a task. This operation is asynchronous and the user should monitor the returned task status in order to check when it is completed.

remove

Task remove(String key)
Deletes a metadata entry.

Returns:
a task. This operation is asynchronous and the user should monitor the returned task status in order to check when it is completed.


Copyright © 2009-2012 jclouds. All Rights Reserved.