Class NamespaceProperties

java.lang.Object
com.azure.messaging.servicebus.administration.models.NamespaceProperties

public final class NamespaceProperties extends Object
The NamespaceProperties model.
  • Constructor Details

    • NamespaceProperties

      public NamespaceProperties()
  • Method Details

    • getAlias

      public String getAlias()
      Get the alias property: Alias for the geo-disaster recovery Service Bus namespace.
      Returns:
      the alias value.
    • setAlias

      public NamespaceProperties setAlias(String alias)
      Set the alias property: Alias for the geo-disaster recovery Service Bus namespace.
      Parameters:
      alias - the alias value to set.
      Returns:
      the NamespaceProperties object itself.
    • getCreatedTime

      public OffsetDateTime getCreatedTime()
      Get the createdTime property: The exact time the namespace was created.
      Returns:
      the createdTime value.
    • getMessagingSku

      public MessagingSku getMessagingSku()
      Get the messagingSku property: The SKU for the messaging entity.
      Returns:
      the messagingSku value.
    • setMessagingSku

      public NamespaceProperties setMessagingSku(MessagingSku messagingSku)
      Set the messagingSku property: The SKU for the messaging entity.
      Parameters:
      messagingSku - the messagingSku value to set.
      Returns:
      the NamespaceProperties object itself.
    • getMessagingUnits

      public Integer getMessagingUnits()
      Get the messagingUnits property: The number of messaging units allocated to the namespace.
      Returns:
      the messagingUnits value.
    • setMessagingUnits

      public NamespaceProperties setMessagingUnits(Integer messagingUnits)
      Set the messagingUnits property: The number of messaging units allocated to the namespace.
      Parameters:
      messagingUnits - the messagingUnits value to set.
      Returns:
      the NamespaceProperties object itself.
    • getModifiedTime

      public OffsetDateTime getModifiedTime()
      Get the modifiedTime property: The exact time the namespace was last modified.
      Returns:
      the modifiedTime value.
    • setModifiedTime

      public NamespaceProperties setModifiedTime(OffsetDateTime modifiedTime)
      Set the modifiedTime property: The exact time the namespace was last modified.
      Parameters:
      modifiedTime - the modifiedTime value to set.
      Returns:
      the NamespaceProperties object itself.
    • getName

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

      public NamespaceProperties setName(String name)
      Set the name property: Name of the namespace.
      Parameters:
      name - the name value to set.
      Returns:
      the NamespaceProperties object itself.
    • getNamespaceType

      public NamespaceType getNamespaceType()
      Get the namespaceType property: The type of entities the namespace can contain.
      Returns:
      the namespaceType value.
    • setNamespaceType

      public NamespaceProperties setNamespaceType(NamespaceType namespaceType)
      Set the namespaceType property: The type of entities the namespace can contain.
      Parameters:
      namespaceType - the namespaceType value to set.
      Returns:
      the NamespaceProperties object itself.