public interface MediaApi
Media
.MediaAsyncApi
Modifier and Type | Method and Description |
---|---|
Media |
add(URI uploadHref,
Media media)
Creates a media (and present upload link for the floppy/iso file).
|
Media |
clone(String mediaUrn,
CloneMediaParams params)
Clones a media into new one.
|
Media |
clone(URI mediaHref,
CloneMediaParams params) |
Task |
edit(String mediaUrn,
Media media)
Updates the name/description of a media.
|
Task |
edit(URI mediaHref,
Media media) |
Media |
get(String mediaUrn)
Retrieves a media.
|
Media |
get(URI mediaHref) |
MetadataApi.Writeable |
getMetadataApi(String mediaUrn) |
MetadataApi.Writeable |
getMetadataApi(URI mediaHref) |
Owner |
getOwner(String mediaUrn)
Retrieves an owner.
|
Owner |
getOwner(URI mediaHref) |
Task |
remove(String mediaUrn)
Deletes a media.
|
Task |
remove(URI mediaHref) |
Media add(URI uploadHref, Media media)
Media clone(String mediaUrn, CloneMediaParams params)
Media clone(URI mediaHref, CloneMediaParams params)
Task edit(String mediaUrn, Media media)
MetadataApi.Writeable getMetadataApi(String mediaUrn)
Metadata.Writeable
featuresMetadataApi.Writeable getMetadataApi(URI mediaHref)
Copyright © 2009-2013 jclouds. All Rights Reserved.