Class SmbMultichannel

java.lang.Object
com.azure.storage.file.share.models.SmbMultichannel
All Implemented Interfaces:
com.azure.xml.XmlSerializable<SmbMultichannel>

public final class SmbMultichannel extends Object implements com.azure.xml.XmlSerializable<SmbMultichannel>
Settings for SMB multichannel.
  • Constructor Details

    • SmbMultichannel

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

    • isEnabled

      public Boolean isEnabled()
      Get the enabled property: If SMB multichannel is enabled.
      Returns:
      the enabled value.
    • setEnabled

      public SmbMultichannel setEnabled(Boolean enabled)
      Set the enabled property: If SMB multichannel is enabled.
      Parameters:
      enabled - the enabled value to set.
      Returns:
      the SmbMultichannel 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<SmbMultichannel>
      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<SmbMultichannel>
      Throws:
      XMLStreamException
    • fromXml

      public static SmbMultichannel fromXml(com.azure.xml.XmlReader xmlReader) throws XMLStreamException
      Reads an instance of SmbMultichannel from the XmlReader.
      Parameters:
      xmlReader - The XmlReader being read.
      Returns:
      An instance of SmbMultichannel 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 SmbMultichannel.
    • fromXml

      public static SmbMultichannel fromXml(com.azure.xml.XmlReader xmlReader, String rootElementName) throws XMLStreamException
      Reads an instance of SmbMultichannel 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 SmbMultichannel 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 SmbMultichannel.