Class MutableBlobPropertiesImpl
- java.lang.Object
-
- org.jclouds.azureblob.domain.internal.MutableBlobPropertiesImpl
-
- All Implemented Interfaces:
Comparable<BlobProperties>,BlobProperties,MutableBlobProperties
public class MutableBlobPropertiesImpl extends Object implements MutableBlobProperties
Allows you to manipulate metadata.
-
-
Constructor Summary
Constructors Constructor Description MutableBlobPropertiesImpl()MutableBlobPropertiesImpl(BlobProperties from)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(BlobProperties o)booleanequals(Object obj)StringgetContainer()MutableContentMetadatagetContentMetadata()StringgetETag()DategetLastModified()LeaseStatusgetLeaseStatus()Map<String,String>getMetadata()StringgetName()AccessTiergetTier()BlobTypegetType()URIgetUrl()inthashCode()voidsetContainer(String container)voidsetContentMetadata(MutableContentMetadata contentMetadata)voidsetETag(String eTag)voidsetLastModified(Date lastModified)voidsetMetadata(Map<String,String> metadata)voidsetName(String name)voidsetTier(AccessTier tier)voidsetType(BlobType type)Set the blob type.voidsetUrl(URI url)StringtoString()
-
-
-
Constructor Detail
-
MutableBlobPropertiesImpl
public MutableBlobPropertiesImpl()
-
MutableBlobPropertiesImpl
public MutableBlobPropertiesImpl(BlobProperties from)
-
-
Method Detail
-
getType
public BlobType getType()
- Specified by:
getTypein interfaceBlobProperties
-
setType
public void setType(BlobType type)
Set the blob type.
-
getTier
public AccessTier getTier()
- Specified by:
getTierin interfaceBlobProperties- Returns:
- access tier or null if not set
-
setTier
public void setTier(AccessTier tier)
- Specified by:
setTierin interfaceMutableBlobProperties
-
getName
public String getName()
- Specified by:
getNamein interfaceBlobProperties
-
getLastModified
public Date getLastModified()
- Specified by:
getLastModifiedin interfaceBlobProperties
-
getETag
public String getETag()
- Specified by:
getETagin interfaceBlobProperties
-
compareTo
public int compareTo(BlobProperties o)
- Specified by:
compareToin interfaceComparable<BlobProperties>
-
getMetadata
public Map<String,String> getMetadata()
- Specified by:
getMetadatain interfaceBlobProperties
-
getLeaseStatus
public LeaseStatus getLeaseStatus()
- Specified by:
getLeaseStatusin interfaceBlobProperties
-
setETag
public void setETag(String eTag)
- Specified by:
setETagin interfaceMutableBlobProperties- See Also:
ListableContainerProperties#getETag
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceMutableBlobProperties- See Also:
ListableContainerProperties#getName
-
setLastModified
public void setLastModified(Date lastModified)
- Specified by:
setLastModifiedin interfaceMutableBlobProperties- See Also:
ListableContainerProperties#getLastModified
-
setMetadata
public void setMetadata(Map<String,String> metadata)
- Specified by:
setMetadatain interfaceMutableBlobProperties- See Also:
ListableContainerProperties#getMetadata
-
setUrl
public void setUrl(URI url)
- Specified by:
setUrlin interfaceMutableBlobProperties- See Also:
ListableContainerProperties#getUrl
-
getUrl
public URI getUrl()
- Specified by:
getUrlin interfaceBlobProperties
-
getContentMetadata
public MutableContentMetadata getContentMetadata()
- Specified by:
getContentMetadatain interfaceBlobProperties- Specified by:
getContentMetadatain interfaceMutableBlobProperties
-
setContentMetadata
public void setContentMetadata(MutableContentMetadata contentMetadata)
- Specified by:
setContentMetadatain interfaceMutableBlobProperties
-
getContainer
public String getContainer()
- Specified by:
getContainerin interfaceBlobProperties
-
setContainer
public void setContainer(String container)
- Specified by:
setContainerin interfaceMutableBlobProperties- See Also:
ListableContainerProperties#getContainer
-
-