Class MutableStorageMetadataImpl
java.lang.Object
org.jclouds.domain.internal.MutableResourceMetadataImpl<StorageType>
org.jclouds.blobstore.domain.internal.MutableStorageMetadataImpl
- All Implemented Interfaces:
Comparable<ResourceMetadata<StorageType>>,MutableStorageMetadata,StorageMetadata,MutableResourceMetadata<StorageType>,ResourceMetadata<StorageType>
- Direct Known Subclasses:
MutableBlobMetadataImpl
public class MutableStorageMetadataImpl
extends MutableResourceMetadataImpl<StorageType>
implements MutableStorageMetadata
Used to construct new resources or modify existing ones.
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreation date of the resource, possibly null.getETag()The eTag value stored in the Etag header returned by HTTP.Last modification time of the resourcegetSize()Size of the resource, possibly null.getTier()inthashCode()voidsetCreationDate(Date creationDate) voidvoidsetLastModified(Date lastModified) voidvoidprotected com.google.common.base.MoreObjects.ToStringHelperstring()Methods inherited from class org.jclouds.domain.internal.MutableResourceMetadataImpl
compareTo, getLocation, getName, getProviderId, getType, getUri, getUserMetadata, setId, setLocation, setName, setType, setUri, setUserMetadata, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface org.jclouds.domain.MutableResourceMetadata
setId, setLocation, setName, setType, setUri, setUserMetadataMethods inherited from interface org.jclouds.domain.ResourceMetadata
getLocationMethods inherited from interface org.jclouds.blobstore.domain.StorageMetadata
getName, getProviderId, getType, getUri, getUserMetadata
-
Constructor Details
-
MutableStorageMetadataImpl
public MutableStorageMetadataImpl() -
MutableStorageMetadataImpl
-
-
Method Details
-
getETag
The eTag value stored in the Etag header returned by HTTP.- Specified by:
getETagin interfaceStorageMetadata- See Also:
-
getCreationDate
Description copied from interface:StorageMetadataCreation date of the resource, possibly null.- Specified by:
getCreationDatein interfaceStorageMetadata
-
setCreationDate
- Specified by:
setCreationDatein interfaceMutableStorageMetadata- See Also:
-
getLastModified
Last modification time of the resource- Specified by:
getLastModifiedin interfaceStorageMetadata- See Also:
-
setLastModified
- Specified by:
setLastModifiedin interfaceMutableStorageMetadata- See Also:
-
setETag
- Specified by:
setETagin interfaceMutableStorageMetadata- See Also:
-
getSize
Description copied from interface:StorageMetadataSize of the resource, possibly null.- Specified by:
getSizein interfaceStorageMetadata
-
setSize
- Specified by:
setSizein interfaceMutableStorageMetadata- See Also:
-
getTier
- Specified by:
getTierin interfaceStorageMetadata
-
setTier
- Specified by:
setTierin interfaceMutableStorageMetadata
-
equals
- Overrides:
equalsin classMutableResourceMetadataImpl<StorageType>
-
hashCode
public int hashCode()- Overrides:
hashCodein classMutableResourceMetadataImpl<StorageType>
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()- Overrides:
stringin classMutableResourceMetadataImpl<StorageType>
-