org.jclouds.domain
Interface MutableResourceMetadata<T extends Enum<T>>

All Superinterfaces:
Comparable<ResourceMetadata<T>>, ResourceMetadata<T>
All Known Subinterfaces:
MutableBlobMetadata, MutableStorageMetadata
All Known Implementing Classes:
MutableBlobMetadataImpl, MutableResourceMetadataImpl, MutableStorageMetadataImpl

public interface MutableResourceMetadata<T extends Enum<T>>
extends ResourceMetadata<T>

Used to construct new resources or modify existing ones.

Author:
Adrian Cole

Method Summary
 void setId(String id)
           
 void setLocation(Location location)
           
 void setName(String name)
           
 void setType(T type)
           
 void setUri(URI url)
           
 void setUserMetadata(Map<String,String> userMetadata)
           
 
Methods inherited from interface org.jclouds.domain.ResourceMetadata
getLocation, getName, getProviderId, getType, getUri, getUserMetadata
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

setType

void setType(T type)
See Also:
ResourceMetadata.getType()

setId

void setId(String id)
See Also:
#getId

setName

void setName(String name)
See Also:
ResourceMetadata.getName()

setLocation

void setLocation(Location location)
See Also:
ResourceMetadata.getLocation()

setUri

void setUri(URI url)
See Also:
ResourceMetadata.getUri()

setUserMetadata

void setUserMetadata(Map<String,String> userMetadata)
See Also:
ResourceMetadata.getUserMetadata()


Copyright © 2009-2012 jclouds. All Rights Reserved.