Class NamespaceInfo


  • public class NamespaceInfo
    extends Object
    Represents the metadata related to a service bus namespace.
    • Constructor Detail

      • NamespaceInfo

        public NamespaceInfo()
    • Method Detail

      • getName

        public String getName()
        Returns:
        Gets the name of namespace.
      • setName

        public void setName​(String name)
        Parameters:
        name - - Name of the namespace.
      • getNamespaceType

        public NamespaceType getNamespaceType()
        Returns:
        Gets the type of entities present in the namespace.
      • setNamespaceType

        public void setNamespaceType​(NamespaceType namespaceType)
        Parameters:
        namespaceType - - Sets the namespace type.
      • getCreatedAt

        public Instant getCreatedAt()
        Returns:
        - Gets the instant at which the namespace was created.
      • setCreatedAt

        public void setCreatedAt​(Instant createdAt)
        Parameters:
        createdAt - - Sets the instant at which the namespace was created.
      • getModifiedAt

        public Instant getModifiedAt()
        Returns:
        - Gets the instant at which the namespace was modified.
      • setModifiedAt

        public void setModifiedAt​(Instant modifiedAt)
        Parameters:
        modifiedAt - - Sets the instant at which the namespace was modified.
      • setNamespaceSku

        public void setNamespaceSku​(NamespaceSku namespaceSku)
        Parameters:
        namespaceSku - - SKU of the namespace
      • getMessagingUnits

        public int getMessagingUnits()
        Returns:
        - Gets the number of messaging units allocated for namespace. Valid only for NamespaceSku.Premium
      • setMessagingUnits

        public void setMessagingUnits​(int messagingUnits)
        Parameters:
        messagingUnits - - Number of messaging units allocated for namespace.
      • getAlias

        public String getAlias()
        Returns:
        - Gets the alias set for the namespace (if any).
      • setAlias

        public void setAlias​(String alias)
        Parameters:
        alias - - alias for the namespace.