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 int
compareTo(BlobProperties o)
boolean
equals(Object obj)
String
getContainer()
MutableContentMetadata
getContentMetadata()
String
getETag()
Date
getLastModified()
LeaseStatus
getLeaseStatus()
Map<String,String>
getMetadata()
String
getName()
AccessTier
getTier()
BlobType
getType()
URI
getUrl()
int
hashCode()
void
setContainer(String container)
void
setContentMetadata(MutableContentMetadata contentMetadata)
void
setETag(String eTag)
void
setLastModified(Date lastModified)
void
setMetadata(Map<String,String> metadata)
void
setName(String name)
void
setTier(AccessTier tier)
void
setType(BlobType type)
Set the blob type.void
setUrl(URI url)
String
toString()
-
-
-
Constructor Detail
-
MutableBlobPropertiesImpl
public MutableBlobPropertiesImpl()
-
MutableBlobPropertiesImpl
public MutableBlobPropertiesImpl(BlobProperties from)
-
-
Method Detail
-
getType
public BlobType getType()
- Specified by:
getType
in interfaceBlobProperties
-
setType
public void setType(BlobType type)
Set the blob type.
-
getTier
public AccessTier getTier()
- Specified by:
getTier
in interfaceBlobProperties
- Returns:
- access tier or null if not set
-
setTier
public void setTier(AccessTier tier)
- Specified by:
setTier
in interfaceMutableBlobProperties
-
getName
public String getName()
- Specified by:
getName
in interfaceBlobProperties
-
getLastModified
public Date getLastModified()
- Specified by:
getLastModified
in interfaceBlobProperties
-
getETag
public String getETag()
- Specified by:
getETag
in interfaceBlobProperties
-
compareTo
public int compareTo(BlobProperties o)
- Specified by:
compareTo
in interfaceComparable<BlobProperties>
-
getMetadata
public Map<String,String> getMetadata()
- Specified by:
getMetadata
in interfaceBlobProperties
-
getLeaseStatus
public LeaseStatus getLeaseStatus()
- Specified by:
getLeaseStatus
in interfaceBlobProperties
-
setETag
public void setETag(String eTag)
- Specified by:
setETag
in interfaceMutableBlobProperties
- See Also:
ListableContainerProperties#getETag
-
setName
public void setName(String name)
- Specified by:
setName
in interfaceMutableBlobProperties
- See Also:
ListableContainerProperties#getName
-
setLastModified
public void setLastModified(Date lastModified)
- Specified by:
setLastModified
in interfaceMutableBlobProperties
- See Also:
ListableContainerProperties#getLastModified
-
setMetadata
public void setMetadata(Map<String,String> metadata)
- Specified by:
setMetadata
in interfaceMutableBlobProperties
- See Also:
ListableContainerProperties#getMetadata
-
setUrl
public void setUrl(URI url)
- Specified by:
setUrl
in interfaceMutableBlobProperties
- See Also:
ListableContainerProperties#getUrl
-
getUrl
public URI getUrl()
- Specified by:
getUrl
in interfaceBlobProperties
-
getContentMetadata
public MutableContentMetadata getContentMetadata()
- Specified by:
getContentMetadata
in interfaceBlobProperties
- Specified by:
getContentMetadata
in interfaceMutableBlobProperties
-
setContentMetadata
public void setContentMetadata(MutableContentMetadata contentMetadata)
- Specified by:
setContentMetadata
in interfaceMutableBlobProperties
-
getContainer
public String getContainer()
- Specified by:
getContainer
in interfaceBlobProperties
-
setContainer
public void setContainer(String container)
- Specified by:
setContainer
in interfaceMutableBlobProperties
- See Also:
ListableContainerProperties#getContainer
-
-