TopicDescription Class
- java.
lang. Object - com.
microsoft. azure. servicebus. management. TopicDescription
- com.
public class TopicDescription
Represents the metadata description of the topic.
Constructor Summary
Constructor | Description |
---|---|
TopicDescription(String path) |
Initializes a new instance of TopicDescription with the specified relative path. |
Method Summary
Constructor Details
TopicDescription
public TopicDescription(String path)
Initializes a new instance of TopicDescription with the specified relative path.
Parameters:
Method Details
equals
public boolean equals(Object o)
Parameters:
getAuthorizationRules
public List
Returns:
getAutoDeleteOnIdle
public Duration getAutoDeleteOnIdle()
Returns:
getDefaultMessageTimeToLive
public Duration getDefaultMessageTimeToLive()
Time-To-live is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when getTimeToLive() is not set on a message itself. Messages older than their TimeToLive value will expire and no longer be retained in the message store. Subscribers will be unable to receive expired messages.
Returns:
getDuplicationDetectionHistoryTimeWindow
public Duration getDuplicationDetectionHistoryTimeWindow()
Returns:
getEntityStatus
public EntityStatus getEntityStatus()
Gets the status of the entity. When an entity is disabled, that entity cannot send or receive messages.
Returns:
getMaxSizeInMB
public long getMaxSizeInMB()
Returns:
getPath
public String getPath()
Returns:
getUserMetadata
public String getUserMetadata()
Returns:
hashCode
public int hashCode()
isEnableBatchedOperations
public boolean isEnableBatchedOperations()
Returns:
isEnablePartitioning
public boolean isEnablePartitioning()
Returns:
isRequiresDuplicateDetection
public boolean isRequiresDuplicateDetection()
If enabled, duplicate messages having same getMessageId() and sent to queue within duration of getDuplicationDetectionHistoryTimeWindow() will be discarded.
Returns:
isSupportOrdering
public boolean isSupportOrdering()
Returns:
setAuthorizationRules
public void setAuthorizationRules(List
Parameters:
setAutoDeleteOnIdle
public void setAutoDeleteOnIdle(Duration autoDeleteOnIdle)
Parameters:
setDefaultMessageTimeToLive
public void setDefaultMessageTimeToLive(Duration defaultMessageTimeToLive)
Parameters:
setDuplicationDetectionHistoryTimeWindow
public void setDuplicationDetectionHistoryTimeWindow(Duration duplicationDetectionHistoryTimeWindow)
Parameters:
setEnableBatchedOperations
public void setEnableBatchedOperations(boolean enableBatchedOperations)
Parameters:
setEnablePartitioning
public void setEnablePartitioning(boolean enablePartitioning)
Parameters:
setEntityStatus
public void setEntityStatus(EntityStatus status)
Parameters:
setMaxSizeInMB
public void setMaxSizeInMB(long maxSize)
Parameters:
setRequiresDuplicateDetection
public void setRequiresDuplicateDetection(boolean requiresDuplicateDetection)
Parameters:
setSupportOrdering
public void setSupportOrdering(boolean supportOrdering)
Parameters:
setUserMetadata
public void setUserMetadata(String userMetadata)
Parameters:
Applies to
Azure SDK for Java