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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SmbMultichannel
fromXml
(com.azure.xml.XmlReader xmlReader) Reads an instance of SmbMultichannel from the XmlReader.static SmbMultichannel
Reads an instance of SmbMultichannel from the XmlReader.Get the enabled property: If SMB multichannel is enabled.setEnabled
(Boolean enabled) Set the enabled property: If SMB multichannel is enabled.com.azure.xml.XmlWriter
toXml
(com.azure.xml.XmlWriter xmlWriter) com.azure.xml.XmlWriter
-
Constructor Details
-
SmbMultichannel
public SmbMultichannel()Creates an instance of SmbMultichannel class.
-
-
Method Details
-
isEnabled
Get the enabled property: If SMB multichannel is enabled.- Returns:
- the enabled value.
-
setEnabled
Set the enabled property: If SMB multichannel is enabled.- Parameters:
enabled
- the enabled value to set.- Returns:
- the SmbMultichannel object itself.
-
toXml
- Specified by:
toXml
in interfacecom.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 interfacecom.azure.xml.XmlSerializable<SmbMultichannel>
- Throws:
XMLStreamException
-
fromXml
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.
-