NamespaceProperties Class
- java.
lang. Object - com.
azure. messaging. servicebus. administration. models. NamespaceProperties
- com.
Implements
public final class NamespaceProperties
implements XmlSerializable<NamespaceProperties>
The metadata related to a Service Bus namespace.
Constructor Summary
Constructor | Description |
---|---|
NamespaceProperties() |
Creates an instance of Namespace |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Namespace |
fromXml(XmlReader xmlReader)
Reads an instance of Namespace |
static
Namespace |
fromXml(XmlReader xmlReader, String rootElementName)
Reads an instance of Namespace |
String |
getAlias()
Get the alias property: Alias for the geo-disaster recovery Service Bus namespace. |
Offset |
getCreatedTime()
Get the created |
Messaging |
getMessagingSku()
Get the messaging |
Integer |
getMessagingUnits()
Get the messaging |
Offset |
getModifiedTime()
Get the modified |
String |
getName()
Get the name property: Name of the namespace. |
Namespace |
getNamespaceType()
Get the namespace |
Namespace |
setAlias(String alias)
Set the alias property: Alias for the geo-disaster recovery Service Bus namespace. |
Namespace |
setMessagingSku(MessagingSku messagingSku)
Set the messaging |
Namespace |
setMessagingUnits(Integer messagingUnits)
Set the messaging |
Namespace |
setModifiedTime(OffsetDateTime modifiedTime)
Set the modified |
Namespace |
setName(String name)
Set the name property: Name of the namespace. |
Namespace |
setNamespaceType(NamespaceType namespaceType)
Set the namespace |
Xml |
toXml(XmlWriter xmlWriter) |
Xml |
toXml(XmlWriter xmlWriter, String rootElementName) |
Methods inherited from java.lang.Object
Constructor Details
NamespaceProperties
public NamespaceProperties()
Creates an instance of NamespaceProperties class.
Method Details
fromXml
public static NamespaceProperties fromXml(XmlReader xmlReader)
Reads an instance of NamespaceProperties from the XmlReader.
Parameters:
Returns:
Throws:
fromXml
public static NamespaceProperties fromXml(XmlReader xmlReader, String rootElementName)
Reads an instance of NamespaceProperties from the XmlReader.
Parameters:
Returns:
Throws:
getAlias
public String getAlias()
Get the alias property: Alias for the geo-disaster recovery Service Bus namespace.
Returns:
getCreatedTime
public OffsetDateTime getCreatedTime()
Get the createdTime property: The exact time the namespace was created.
Returns:
getMessagingSku
public MessagingSku getMessagingSku()
Get the messagingSku property: The SKU for the messaging entity.
Returns:
getMessagingUnits
public Integer getMessagingUnits()
Get the messagingUnits property: The number of messaging units allocated to the namespace.
Returns:
getModifiedTime
public OffsetDateTime getModifiedTime()
Get the modifiedTime property: The exact time the namespace was last modified.
Returns:
getName
public String getName()
Get the name property: Name of the namespace.
Returns:
getNamespaceType
public NamespaceType getNamespaceType()
Get the namespaceType property: The type of entities the namespace can contain.
Returns:
setAlias
public NamespaceProperties setAlias(String alias)
Set the alias property: Alias for the geo-disaster recovery Service Bus namespace.
Parameters:
Returns:
setMessagingSku
public NamespaceProperties setMessagingSku(MessagingSku messagingSku)
Set the messagingSku property: The SKU for the messaging entity.
Parameters:
Returns:
setMessagingUnits
public NamespaceProperties setMessagingUnits(Integer messagingUnits)
Set the messagingUnits property: The number of messaging units allocated to the namespace.
Parameters:
Returns:
setModifiedTime
public NamespaceProperties setModifiedTime(OffsetDateTime modifiedTime)
Set the modifiedTime property: The exact time the namespace was last modified.
Parameters:
Returns:
setName
public NamespaceProperties setName(String name)
Set the name property: Name of the namespace.
Parameters:
Returns:
setNamespaceType
public NamespaceProperties setNamespaceType(NamespaceType namespaceType)
Set the namespaceType property: The type of entities the namespace can contain.
Parameters:
Returns:
toXml
toXml
public XmlWriter toXml(XmlWriter xmlWriter, String rootElementName)
Parameters:
Throws:
Applies to
Azure SDK for Java