NamespaceInfo Class

  • java.lang.Object
    • com.microsoft.azure.servicebus.management.NamespaceInfo

public class NamespaceInfo

Represents the metadata related to a service bus namespace.

Constructor Summary

Constructor Description
NamespaceInfo()

Method Summary

Modifier and Type Method and 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)

Methods inherited from java.lang.Object

Constructor Details

NamespaceInfo

public NamespaceInfo()

Method Details

getAlias

public String getAlias()

Returns:

  • Gets the alias set for the namespace (if any).

getCreatedAt

public Instant getCreatedAt()

Returns:

  • Gets the instant at which the namespace was created.

getMessagingUnits

public int getMessagingUnits()

Returns:

  • Gets the number of messaging units allocated for namespace. Valid only for Premium

getModifiedAt

public Instant getModifiedAt()

Returns:

  • Gets the instant at which the namespace was modified.

getName

public String getName()

Returns:

Gets the name of namespace.

getNamespaceSku

public NamespaceSku getNamespaceSku()

Returns:

  • Gets the SKU/tier of the namespace. Not valid only for Unknown

getNamespaceType

public NamespaceType getNamespaceType()

Returns:

Gets the type of entities present in the namespace.

setAlias

public void setAlias(String alias)

Parameters:

alias -
  • alias for the namespace.

setCreatedAt

public void setCreatedAt(Instant createdAt)

Parameters:

createdAt -
  • Sets the instant at which the namespace was created.

setMessagingUnits

public void setMessagingUnits(int messagingUnits)

Parameters:

messagingUnits -
  • Number of messaging units allocated for namespace.

setModifiedAt

public void setModifiedAt(Instant modifiedAt)

Parameters:

modifiedAt -
  • Sets the instant at which the namespace was modified.

setName

public void setName(String name)

Parameters:

name -
  • Name of the namespace.

setNamespaceSku

public void setNamespaceSku(NamespaceSku namespaceSku)

Parameters:

namespaceSku -
  • SKU of the namespace

setNamespaceType

public void setNamespaceType(NamespaceType namespaceType)

Parameters:

namespaceType -
  • Sets the namespace type.

Applies to