public final class TopicProperties extends Object
Modifier and Type | Method and Description |
---|---|
List<AuthorizationRule> |
getAuthorizationRules()
Get the authorizationRules property: Authorization rules for resource.
|
Duration |
getAutoDeleteOnIdle()
Get the autoDeleteOnIdle property: ISO 8601 timeSpan idle interval after which the topic is automatically
deleted.
|
Duration |
getDefaultMessageTimeToLive()
Get the defaultMessageTimeToLive property: ISO 8601 default message timespan to live value.
|
Duration |
getDuplicateDetectionHistoryTimeWindow()
Get the duplicateDetectionHistoryTimeWindow property: ISO 8601 timeSpan structure that defines the duration of
the duplicate detection history.
|
long |
getMaxSizeInMegabytes()
Get the maxSizeInMegabytes property: The maximum size of the topic in megabytes, which is the size of memory
allocated for the topic.
|
String |
getName()
Gets the name of the topic.
|
EntityStatus |
getStatus()
Get the status property: Status of a Service Bus resource.
|
String |
getUserMetadata()
Get the userMetadata property: Metadata associated with the topic.
|
boolean |
isBatchedOperationsEnabled()
Get the enableBatchedOperations property: Value that indicates whether server-side batched operations are
enabled.
|
boolean |
isDuplicateDetectionRequired()
Get the requiresDuplicateDetection property: A value indicating if this topic requires duplicate detection.
|
boolean |
isOrderingSupported()
Get the supportOrdering property: A value that indicates whether the topic supports ordering.
|
boolean |
isPartitioningEnabled()
Get the enablePartitioning property: A value that indicates whether the topic is to be partitioned across
multiple message brokers.
|
TopicProperties |
setAutoDeleteOnIdle(Duration autoDeleteOnIdle)
Set the autoDeleteOnIdle property: ISO 8601 timeSpan idle interval after which the topic is automatically
deleted.
|
TopicProperties |
setDefaultMessageTimeToLive(Duration defaultMessageTimeToLive)
Set the defaultMessageTimeToLive property: ISO 8601 default message timespan to live value.
|
TopicProperties |
setDuplicateDetectionHistoryTimeWindow(Duration duplicateDetectionHistoryTimeWindow)
Set the duplicateDetectionHistoryTimeWindow property: ISO 8601 timeSpan structure that defines the duration of
the duplicate detection history.
|
TopicProperties |
setDuplicateDetectionRequired(boolean requiresDuplicateDetection)
Set the requiresDuplicateDetection property: A value indicating if this topic requires duplicate detection.
|
TopicProperties |
setMaxSizeInMegabytes(long maxSizeInMegabytes)
Set the maxSizeInMegabytes property: The maximum size of the topic in megabytes, which is the size of memory
allocated for the topic.
|
TopicProperties |
setOrderingSupported(boolean supportOrdering)
Set the supportOrdering property: A value that indicates whether the topic supports ordering.
|
TopicProperties |
setStatus(EntityStatus status)
Set the status property: Status of a Service Bus resource.
|
TopicProperties |
setUserMetadata(String userMetadata)
Set the userMetadata property: Metadata associated with the topic.
|
public String getName()
public Duration getDefaultMessageTimeToLive()
public TopicProperties setDefaultMessageTimeToLive(Duration defaultMessageTimeToLive)
defaultMessageTimeToLive
- the defaultMessageTimeToLive value to set.public long getMaxSizeInMegabytes()
public TopicProperties setMaxSizeInMegabytes(long maxSizeInMegabytes)
maxSizeInMegabytes
- the maxSizeInMegabytes value to set.public boolean isDuplicateDetectionRequired()
public TopicProperties setDuplicateDetectionRequired(boolean requiresDuplicateDetection)
requiresDuplicateDetection
- the requiresDuplicateDetection value to set.public Duration getDuplicateDetectionHistoryTimeWindow()
public TopicProperties setDuplicateDetectionHistoryTimeWindow(Duration duplicateDetectionHistoryTimeWindow)
duplicateDetectionHistoryTimeWindow
- the duplicateDetectionHistoryTimeWindow value to set.public boolean isBatchedOperationsEnabled()
public List<AuthorizationRule> getAuthorizationRules()
public EntityStatus getStatus()
public TopicProperties setStatus(EntityStatus status)
status
- the status value to set.public boolean isOrderingSupported()
public TopicProperties setOrderingSupported(boolean supportOrdering)
supportOrdering
- the supportOrdering value to set.public Duration getAutoDeleteOnIdle()
public TopicProperties setAutoDeleteOnIdle(Duration autoDeleteOnIdle)
autoDeleteOnIdle
- the autoDeleteOnIdle value to set.public boolean isPartitioningEnabled()
public String getUserMetadata()
public TopicProperties setUserMetadata(String userMetadata)
userMetadata
- the userMetadata value to set.Copyright © 2021 Microsoft Corporation. All rights reserved.