public class SBTopicInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
SBTopicInner() |
| Modifier and Type | Method and Description |
|---|---|
OffsetDateTime |
accessedAt()
Get the accessedAt property: Last time the message was sent, or a request was received, for this topic.
|
Duration |
autoDeleteOnIdle()
Get the autoDeleteOnIdle property: ISO 8601 timespan idle interval after which the topic is automatically
deleted.
|
MessageCountDetails |
countDetails()
Get the countDetails property: Message count details.
|
OffsetDateTime |
createdAt()
Get the createdAt property: Exact time the message was created.
|
Duration |
defaultMessageTimeToLive()
Get the defaultMessageTimeToLive property: ISO 8601 Default message timespan to live value.
|
Duration |
duplicateDetectionHistoryTimeWindow()
Get the duplicateDetectionHistoryTimeWindow property: ISO8601 timespan structure that defines the duration of the
duplicate detection history.
|
Boolean |
enableBatchedOperations()
Get the enableBatchedOperations property: Value that indicates whether server-side batched operations are
enabled.
|
Boolean |
enableExpress()
Get the enableExpress property: Value that indicates whether Express Entities are enabled.
|
Boolean |
enablePartitioning()
Get the enablePartitioning property: Value that indicates whether the topic to be partitioned across multiple
message brokers is enabled.
|
Integer |
maxSizeInMegabytes()
Get the maxSizeInMegabytes property: Maximum size of the topic in megabytes, which is the size of the memory
allocated for the topic.
|
Boolean |
requiresDuplicateDetection()
Get the requiresDuplicateDetection property: Value indicating if this topic requires duplicate detection.
|
Long |
sizeInBytes()
Get the sizeInBytes property: Size of the topic, in bytes.
|
EntityStatus |
status()
Get the status property: Enumerates the possible values for the status of a messaging entity.
|
Integer |
subscriptionCount()
Get the subscriptionCount property: Number of subscriptions.
|
Boolean |
supportOrdering()
Get the supportOrdering property: Value that indicates whether the topic supports ordering.
|
OffsetDateTime |
updatedAt()
Get the updatedAt property: The exact time the message was updated.
|
void |
validate()
Validates the instance.
|
SBTopicInner |
withAutoDeleteOnIdle(Duration autoDeleteOnIdle)
Set the autoDeleteOnIdle property: ISO 8601 timespan idle interval after which the topic is automatically
deleted.
|
SBTopicInner |
withDefaultMessageTimeToLive(Duration defaultMessageTimeToLive)
Set the defaultMessageTimeToLive property: ISO 8601 Default message timespan to live value.
|
SBTopicInner |
withDuplicateDetectionHistoryTimeWindow(Duration duplicateDetectionHistoryTimeWindow)
Set the duplicateDetectionHistoryTimeWindow property: ISO8601 timespan structure that defines the duration of the
duplicate detection history.
|
SBTopicInner |
withEnableBatchedOperations(Boolean enableBatchedOperations)
Set the enableBatchedOperations property: Value that indicates whether server-side batched operations are
enabled.
|
SBTopicInner |
withEnableExpress(Boolean enableExpress)
Set the enableExpress property: Value that indicates whether Express Entities are enabled.
|
SBTopicInner |
withEnablePartitioning(Boolean enablePartitioning)
Set the enablePartitioning property: Value that indicates whether the topic to be partitioned across multiple
message brokers is enabled.
|
SBTopicInner |
withMaxSizeInMegabytes(Integer maxSizeInMegabytes)
Set the maxSizeInMegabytes property: Maximum size of the topic in megabytes, which is the size of the memory
allocated for the topic.
|
SBTopicInner |
withRequiresDuplicateDetection(Boolean requiresDuplicateDetection)
Set the requiresDuplicateDetection property: Value indicating if this topic requires duplicate detection.
|
SBTopicInner |
withStatus(EntityStatus status)
Set the status property: Enumerates the possible values for the status of a messaging entity.
|
SBTopicInner |
withSupportOrdering(Boolean supportOrdering)
Set the supportOrdering property: Value that indicates whether the topic supports ordering.
|
public Long sizeInBytes()
public OffsetDateTime createdAt()
public OffsetDateTime updatedAt()
public OffsetDateTime accessedAt()
public Integer subscriptionCount()
public MessageCountDetails countDetails()
public Duration defaultMessageTimeToLive()
public SBTopicInner withDefaultMessageTimeToLive(Duration defaultMessageTimeToLive)
defaultMessageTimeToLive - the defaultMessageTimeToLive value to set.public Integer maxSizeInMegabytes()
public SBTopicInner withMaxSizeInMegabytes(Integer maxSizeInMegabytes)
maxSizeInMegabytes - the maxSizeInMegabytes value to set.public Boolean requiresDuplicateDetection()
public SBTopicInner withRequiresDuplicateDetection(Boolean requiresDuplicateDetection)
requiresDuplicateDetection - the requiresDuplicateDetection value to set.public Duration duplicateDetectionHistoryTimeWindow()
public SBTopicInner withDuplicateDetectionHistoryTimeWindow(Duration duplicateDetectionHistoryTimeWindow)
duplicateDetectionHistoryTimeWindow - the duplicateDetectionHistoryTimeWindow value to set.public Boolean enableBatchedOperations()
public SBTopicInner withEnableBatchedOperations(Boolean enableBatchedOperations)
enableBatchedOperations - the enableBatchedOperations value to set.public EntityStatus status()
public SBTopicInner withStatus(EntityStatus status)
status - the status value to set.public Boolean supportOrdering()
public SBTopicInner withSupportOrdering(Boolean supportOrdering)
supportOrdering - the supportOrdering value to set.public Duration autoDeleteOnIdle()
public SBTopicInner withAutoDeleteOnIdle(Duration autoDeleteOnIdle)
autoDeleteOnIdle - the autoDeleteOnIdle value to set.public Boolean enablePartitioning()
public SBTopicInner withEnablePartitioning(Boolean enablePartitioning)
enablePartitioning - the enablePartitioning value to set.public Boolean enableExpress()
public SBTopicInner withEnableExpress(Boolean enableExpress)
enableExpress - the enableExpress value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.