Class BlobPropertiesImpl
- java.lang.Object
-
- org.jclouds.azureblob.domain.internal.BlobPropertiesImpl
-
- All Implemented Interfaces:
Comparable<BlobProperties>
,BlobProperties
public class BlobPropertiesImpl extends Object implements BlobProperties
Allows you to manipulate metadata.
-
-
Constructor Summary
Constructors Constructor Description BlobPropertiesImpl(BlobType type, String name, String container, URI url, Date lastModified, String eTag, long size, String contentType, byte[] contentMD5, String contentMetadata, String contentLanguage, Date currentExpires, LeaseStatus leaseStatus, Map<String,String> metadata)
Deprecated.BlobPropertiesImpl(BlobType type, AccessTier tier, String name, String container, URI url, Date lastModified, String eTag, long size, String contentType, byte[] contentMD5, String contentMetadata, String contentLanguage, Date currentExpires, LeaseStatus leaseStatus, Map<String,String> metadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(BlobProperties o)
boolean
equals(Object obj)
String
getContainer()
ContentMetadata
getContentMetadata()
String
getETag()
Date
getLastModified()
LeaseStatus
getLeaseStatus()
Map<String,String>
getMetadata()
String
getName()
AccessTier
getTier()
BlobType
getType()
URI
getUrl()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
BlobPropertiesImpl
@Deprecated public BlobPropertiesImpl(BlobType type, String name, String container, URI url, @Nullable Date lastModified, @Nullable String eTag, long size, String contentType, @Nullable byte[] contentMD5, @Nullable String contentMetadata, @Nullable String contentLanguage, @Nullable Date currentExpires, LeaseStatus leaseStatus, Map<String,String> metadata)
Deprecated.
-
BlobPropertiesImpl
public BlobPropertiesImpl(BlobType type, @Nullable AccessTier tier, String name, String container, URI url, @Nullable Date lastModified, @Nullable String eTag, long size, String contentType, @Nullable byte[] contentMD5, @Nullable String contentMetadata, @Nullable String contentLanguage, @Nullable Date currentExpires, LeaseStatus leaseStatus, Map<String,String> metadata)
-
-
Method Detail
-
getType
public BlobType getType()
- Specified by:
getType
in interfaceBlobProperties
-
getTier
public AccessTier getTier()
- Specified by:
getTier
in interfaceBlobProperties
- Returns:
- access tier or null if not set
-
getName
public String getName()
- Specified by:
getName
in interfaceBlobProperties
-
getContainer
public String getContainer()
- Specified by:
getContainer
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
-
getUrl
public URI getUrl()
- Specified by:
getUrl
in interfaceBlobProperties
-
getLeaseStatus
public LeaseStatus getLeaseStatus()
- Specified by:
getLeaseStatus
in interfaceBlobProperties
-
getContentMetadata
public ContentMetadata getContentMetadata()
- Specified by:
getContentMetadata
in interfaceBlobProperties
-
-