Class NamespaceInfo
- java.lang.Object
-
- com.microsoft.azure.servicebus.management.NamespaceInfo
-
public class NamespaceInfo extends Object
Represents the metadata related to a service bus namespace.
-
-
Constructor Summary
Constructors Constructor Description NamespaceInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAlias()
Instant
getCreatedAt()
int
getMessagingUnits()
Instant
getModifiedAt()
String
getName()
NamespaceSku
getNamespaceSku()
NamespaceType
getNamespaceType()
void
setAlias(String alias)
void
setCreatedAt(Instant createdAt)
void
setMessagingUnits(int messagingUnits)
void
setModifiedAt(Instant modifiedAt)
void
setName(String name)
void
setNamespaceSku(NamespaceSku namespaceSku)
void
setNamespaceType(NamespaceType namespaceType)
-
-
-
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.
-
getNamespaceSku
public NamespaceSku getNamespaceSku()
- Returns:
- - Gets the SKU/tier of the namespace. Not valid only for
NamespaceType.Unknown
-
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.
-
-