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 TypeMethodDescriptionboolean
Creation 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()
int
hashCode()
void
setCreationDate
(Date creationDate) void
void
setLastModified
(Date lastModified) void
void
protected com.google.common.base.MoreObjects.ToStringHelper
string()
Methods inherited from class org.jclouds.domain.internal.MutableResourceMetadataImpl
compareTo, getLocation, getName, getProviderId, getType, getUri, getUserMetadata, setId, setLocation, setName, setType, setUri, setUserMetadata, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface org.jclouds.domain.MutableResourceMetadata
setId, setLocation, setName, setType, setUri, setUserMetadata
Methods inherited from interface org.jclouds.domain.ResourceMetadata
getLocation
Methods 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:
getETag
in interfaceStorageMetadata
- See Also:
-
getCreationDate
Description copied from interface:StorageMetadata
Creation date of the resource, possibly null.- Specified by:
getCreationDate
in interfaceStorageMetadata
-
setCreationDate
- Specified by:
setCreationDate
in interfaceMutableStorageMetadata
- See Also:
-
getLastModified
Last modification time of the resource- Specified by:
getLastModified
in interfaceStorageMetadata
- See Also:
-
setLastModified
- Specified by:
setLastModified
in interfaceMutableStorageMetadata
- See Also:
-
setETag
- Specified by:
setETag
in interfaceMutableStorageMetadata
- See Also:
-
getSize
Description copied from interface:StorageMetadata
Size of the resource, possibly null.- Specified by:
getSize
in interfaceStorageMetadata
-
setSize
- Specified by:
setSize
in interfaceMutableStorageMetadata
- See Also:
-
getTier
- Specified by:
getTier
in interfaceStorageMetadata
-
setTier
- Specified by:
setTier
in interfaceMutableStorageMetadata
-
equals
- Overrides:
equals
in classMutableResourceMetadataImpl<StorageType>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classMutableResourceMetadataImpl<StorageType>
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()- Overrides:
string
in classMutableResourceMetadataImpl<StorageType>
-