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 deleteMetadataEntry(URI uri, String key)
          Deletes a metadata entry.
 Task mergeMetadata(URI uri, Metadata metadata)
          Merges the metadata for a media with the information provided.
 Task setMetadata(URI uri, String key, MetadataValue metadataValue)
          Sets the metadata for the particular key for the media to the value provided.
 
Methods inherited from interface org.jclouds.vcloud.director.v1_5.features.MetadataApi.Readable
getMetadata, getMetadataValue
 

Method Detail

mergeMetadata

Task mergeMetadata(URI uri,
                   Metadata 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.

setMetadata

Task setMetadata(URI uri,
                 String key,
                 MetadataValue metadataValue)
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.

deleteMetadataEntry

Task deleteMetadataEntry(URI uri,
                         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.