NamespaceInfo Class
- java.
lang. Object - com.
microsoft. azure. servicebus. management. NamespaceInfo
- com.
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() |
Namespace |
getNamespaceSku() |
Namespace |
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:
getNamespaceSku
public NamespaceSku getNamespaceSku()
Returns:
- Gets the SKU/tier of the namespace. Not valid only for Unknown
getNamespaceType
public NamespaceType getNamespaceType()
Returns:
setAlias
public void setAlias(String alias)
Parameters:
- alias for the namespace.
setCreatedAt
public void setCreatedAt(Instant createdAt)
Parameters:
- Sets the instant at which the namespace was created.
setMessagingUnits
public void setMessagingUnits(int messagingUnits)
Parameters:
- Number of messaging units allocated for namespace.
setModifiedAt
public void setModifiedAt(Instant modifiedAt)
Parameters:
- Sets the instant at which the namespace was modified.
setName
public void setName(String name)
Parameters:
- Name of the namespace.
setNamespaceSku
public void setNamespaceSku(NamespaceSku namespaceSku)
Parameters:
- SKU of the namespace
setNamespaceType
public void setNamespaceType(NamespaceType namespaceType)
Parameters:
- Sets the namespace type.
Applies to
Azure SDK for Java