org.soyatec.windowsazure.blob
Interface IBlobProperties
public interface IBlobProperties
The properties of a blob.
No member of this class makes a storage service request.
getName
java.lang.String getName()
- Returns:
- the blob name
getUri
java.net.URI getUri()
- Returns:
- the blob uri
getContentEncoding
java.lang.String getContentEncoding()
- Returns:
- the blob contentEncoding
getContentType
java.lang.String getContentType()
- Returns:
- the blob contentType
getContentLanguage
java.lang.String getContentLanguage()
- Returns:
- the blob contentType
getContentLength
long getContentLength()
- Returns:
- the blob contentLength
getCacheControl
java.lang.String getCacheControl()
- Returns:
- the blob cache control
setCacheControl
void setCacheControl(java.lang.String cacheControl)
- Parameters:
cacheControl -
setContentMD5
void setContentMD5(java.lang.String value)
- Parameters:
value - the md5 value for blob content
getContentMD5
java.lang.String getContentMD5()
- Returns:
- the md5 value for blob content
getMetadata
org.soyatec.windowsazure.internal.util.NameValueCollection getMetadata()
- Returns:
- the blob metadata
getLastModifiedTime
java.sql.Timestamp getLastModifiedTime()
- Returns:
- the blob lastModifiedTime
getETag
java.lang.String getETag()
- Returns:
- the blob eTag
setContentEncoding
void setContentEncoding(java.lang.String contentEncoding)
- Parameters:
contentEncoding - the blob contentEncoding to set
setContentType
void setContentType(java.lang.String contentType)
- Parameters:
contentType - the blob contentType to set
setContentLanguage
void setContentLanguage(java.lang.String contentLanguage)
- Parameters:
contentLanguage - the blob contentLanguage to set
setMetadata
void setMetadata(org.soyatec.windowsazure.internal.util.NameValueCollection metadata)
- Parameters:
metadata - the blob metadata to set
setLastModifiedTime
void setLastModifiedTime(java.sql.Timestamp lastModifiedTime)
- Parameters:
lastModifiedTime - the blob lastModifiedTime to set
setETag
void setETag(java.lang.String tag)
- Parameters:
tag - the blob tag to set
getSnapshot
java.sql.Timestamp getSnapshot()
- Returns:
- the blob snapshot
setSnapshot
void setSnapshot(java.sql.Timestamp snapshot)
- Parameters:
snapshot - the blob snapshot to set
getBlobType
BlobType getBlobType()
- Returns:
- the blob blobType
setBlobType
void setBlobType(BlobType blobType)
- Parameters:
blobType - the blob blobType to set
getLeaseStatus
LeaseStatus getLeaseStatus()
- Returns:
- the blob leaseStatus
setLeaseStatus
void setLeaseStatus(LeaseStatus leaseStatus)
- Parameters:
leaseStatus - the blob leaseStatus to set