Class BlobContainerItem

java.lang.Object
com.azure.storage.blob.models.BlobContainerItem
All Implemented Interfaces:
com.azure.xml.XmlSerializable<BlobContainerItem>

public final class BlobContainerItem extends Object implements com.azure.xml.XmlSerializable<BlobContainerItem>
An Azure Storage container.
  • Constructor Details

    • BlobContainerItem

      public BlobContainerItem()
      Creates an instance of BlobContainerItem class.
  • Method Details

    • getName

      public String getName()
      Get the name property: The Name property.
      Returns:
      the name value.
    • setName

      public BlobContainerItem setName(String name)
      Set the name property: The Name property.
      Parameters:
      name - the name value to set.
      Returns:
      the BlobContainerItem object itself.
    • isDeleted

      public Boolean isDeleted()
      Get the deleted property: The Deleted property.
      Returns:
      the deleted value.
    • setDeleted

      public BlobContainerItem setDeleted(Boolean deleted)
      Set the deleted property: The Deleted property.
      Parameters:
      deleted - the deleted value to set.
      Returns:
      the BlobContainerItem object itself.
    • getVersion

      public String getVersion()
      Get the version property: The Version property.
      Returns:
      the version value.
    • setVersion

      public BlobContainerItem setVersion(String version)
      Set the version property: The Version property.
      Parameters:
      version - the version value to set.
      Returns:
      the BlobContainerItem object itself.
    • getProperties

      public BlobContainerItemProperties getProperties()
      Get the properties property: Properties of a container.
      Returns:
      the properties value.
    • setProperties

      public BlobContainerItem setProperties(BlobContainerItemProperties properties)
      Set the properties property: Properties of a container.
      Parameters:
      properties - the properties value to set.
      Returns:
      the BlobContainerItem object itself.
    • getMetadata

      public Map<String,String> getMetadata()
      Get the metadata property: Dictionary of <string>.
      Returns:
      the metadata value.
    • setMetadata

      public BlobContainerItem setMetadata(Map<String,String> metadata)
      Set the metadata property: Dictionary of <string>.
      Parameters:
      metadata - the metadata value to set.
      Returns:
      the BlobContainerItem object itself.
    • toXml

      public com.azure.xml.XmlWriter toXml(com.azure.xml.XmlWriter xmlWriter) throws XMLStreamException
      Specified by:
      toXml in interface com.azure.xml.XmlSerializable<BlobContainerItem>
      Throws:
      XMLStreamException
    • toXml

      public com.azure.xml.XmlWriter toXml(com.azure.xml.XmlWriter xmlWriter, String rootElementName) throws XMLStreamException
      Specified by:
      toXml in interface com.azure.xml.XmlSerializable<BlobContainerItem>
      Throws:
      XMLStreamException
    • fromXml

      public static BlobContainerItem fromXml(com.azure.xml.XmlReader xmlReader) throws XMLStreamException
      Reads an instance of BlobContainerItem from the XmlReader.
      Parameters:
      xmlReader - The XmlReader being read.
      Returns:
      An instance of BlobContainerItem if the XmlReader was pointing to an instance of it, or null if it was pointing to XML null.
      Throws:
      XMLStreamException - If an error occurs while reading the BlobContainerItem.
    • fromXml

      public static BlobContainerItem fromXml(com.azure.xml.XmlReader xmlReader, String rootElementName) throws XMLStreamException
      Reads an instance of BlobContainerItem from the XmlReader.
      Parameters:
      xmlReader - The XmlReader being read.
      rootElementName - Optional root element name to override the default defined by the model. Used to support cases where the model can deserialize from different root element names.
      Returns:
      An instance of BlobContainerItem if the XmlReader was pointing to an instance of it, or null if it was pointing to XML null.
      Throws:
      XMLStreamException - If an error occurs while reading the BlobContainerItem.