BlobContainerItem Class
- java.
lang. Object - com.
azure. storage. blob. models. BlobContainerItem
- com.
Implements
public final class BlobContainerItem
implements XmlSerializable<BlobContainerItem>
An Azure Storage container.
Constructor Summary
Constructor | Description |
---|---|
BlobContainerItem() |
Creates an instance of Blob |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Blob |
fromXml(XmlReader xmlReader)
Reads an instance of Blob |
static
Blob |
fromXml(XmlReader xmlReader, String rootElementName)
Reads an instance of Blob |
Map<String,String> |
getMetadata()
Get the metadata property: Dictionary of . |
String |
getName()
Get the name property: The Name property. |
Blob |
getProperties()
Get the properties property: Properties of a container. |
String |
getVersion()
Get the version property: The Version property. |
Boolean |
isDeleted()
Get the deleted property: The Deleted property. |
Blob |
setDeleted(Boolean deleted)
Set the deleted property: The Deleted property. |
Blob |
setMetadata(Map<String,String> metadata)
Set the metadata property: Dictionary of . |
Blob |
setName(String name)
Set the name property: The Name property. |
Blob |
setProperties(BlobContainerItemProperties properties)
Set the properties property: Properties of a container. |
Blob |
setVersion(String version)
Set the version property: The Version property. |
Xml |
toXml(XmlWriter xmlWriter) |
Xml |
toXml(XmlWriter xmlWriter, String rootElementName) |
Methods inherited from java.lang.Object
Constructor Details
BlobContainerItem
public BlobContainerItem()
Creates an instance of BlobContainerItem class.
Method Details
fromXml
public static BlobContainerItem fromXml(XmlReader xmlReader)
Reads an instance of BlobContainerItem from the XmlReader.
Parameters:
Returns:
Throws:
fromXml
public static BlobContainerItem fromXml(XmlReader xmlReader, String rootElementName)
Reads an instance of BlobContainerItem from the XmlReader.
Parameters:
Returns:
Throws:
getMetadata
public Map
Get the metadata property: Dictionary of .
Returns:
getName
public String getName()
Get the name property: The Name property.
Returns:
getProperties
public BlobContainerItemProperties getProperties()
Get the properties property: Properties of a container.
Returns:
getVersion
public String getVersion()
Get the version property: The Version property.
Returns:
isDeleted
public Boolean isDeleted()
Get the deleted property: The Deleted property.
Returns:
setDeleted
public BlobContainerItem setDeleted(Boolean deleted)
Set the deleted property: The Deleted property.
Parameters:
Returns:
setMetadata
public BlobContainerItem setMetadata(Map
Set the metadata property: Dictionary of .
Parameters:
Returns:
setName
public BlobContainerItem setName(String name)
Set the name property: The Name property.
Parameters:
Returns:
setProperties
public BlobContainerItem setProperties(BlobContainerItemProperties properties)
Set the properties property: Properties of a container.
Parameters:
Returns:
setVersion
public BlobContainerItem setVersion(String version)
Set the version property: The Version property.
Parameters:
Returns:
toXml
toXml
public XmlWriter toXml(XmlWriter xmlWriter, String rootElementName)
Parameters:
Throws:
Applies to
Azure SDK for Java