public class TopicResourceInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
TopicResourceInner() |
| 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.
|
String |
autoDeleteOnIdle()
Get the autoDeleteOnIdle property: 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.
|
String |
defaultMessageTimeToLive()
Get the defaultMessageTimeToLive property: Default message time to live value.
|
String |
duplicateDetectionHistoryTimeWindow()
Get the duplicateDetectionHistoryTimeWindow property: 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.
|
EntityAvailabilityStatus |
entityAvailabilityStatus()
Get the entityAvailabilityStatus property: Entity availability status for the topic.
|
Boolean |
filteringMessagesBeforePublishing()
Get the filteringMessagesBeforePublishing property: Whether messages should be filtered before publishing.
|
Boolean |
isAnonymousAccessible()
Get the isAnonymousAccessible property: Value that indicates whether the message is accessible anonymously.
|
Boolean |
isExpress()
Get the isExpress property: The isExpress property.
|
String |
location()
Get the location property: Resource location.
|
Long |
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.
|
TopicResourceInner |
withAutoDeleteOnIdle(String autoDeleteOnIdle)
Set the autoDeleteOnIdle property: TimeSpan idle interval after which the topic is automatically deleted.
|
TopicResourceInner |
withDefaultMessageTimeToLive(String defaultMessageTimeToLive)
Set the defaultMessageTimeToLive property: Default message time to live value.
|
TopicResourceInner |
withDuplicateDetectionHistoryTimeWindow(String duplicateDetectionHistoryTimeWindow)
Set the duplicateDetectionHistoryTimeWindow property: TimeSpan structure that defines the duration of the
duplicate detection history.
|
TopicResourceInner |
withEnableBatchedOperations(Boolean enableBatchedOperations)
Set the enableBatchedOperations property: Value that indicates whether server-side batched operations are
enabled.
|
TopicResourceInner |
withEnableExpress(Boolean enableExpress)
Set the enableExpress property: Value that indicates whether Express Entities are enabled.
|
TopicResourceInner |
withEnablePartitioning(Boolean enablePartitioning)
Set the enablePartitioning property: Value that indicates whether the topic to be partitioned across multiple
message brokers is enabled.
|
TopicResourceInner |
withEntityAvailabilityStatus(EntityAvailabilityStatus entityAvailabilityStatus)
Set the entityAvailabilityStatus property: Entity availability status for the topic.
|
TopicResourceInner |
withFilteringMessagesBeforePublishing(Boolean filteringMessagesBeforePublishing)
Set the filteringMessagesBeforePublishing property: Whether messages should be filtered before publishing.
|
TopicResourceInner |
withIsAnonymousAccessible(Boolean isAnonymousAccessible)
Set the isAnonymousAccessible property: Value that indicates whether the message is accessible anonymously.
|
TopicResourceInner |
withIsExpress(Boolean isExpress)
Set the isExpress property: The isExpress property.
|
TopicResourceInner |
withLocation(String location)
Set the location property: Resource location.
|
TopicResourceInner |
withMaxSizeInMegabytes(Long maxSizeInMegabytes)
Set the maxSizeInMegabytes property: Maximum size of the topic in megabytes, which is the size of the memory
allocated for the topic.
|
TopicResourceInner |
withRequiresDuplicateDetection(Boolean requiresDuplicateDetection)
Set the requiresDuplicateDetection property: Value indicating if this topic requires duplicate detection.
|
TopicResourceInner |
withStatus(EntityStatus status)
Set the status property: Enumerates the possible values for the status of a messaging entity.
|
TopicResourceInner |
withSupportOrdering(Boolean supportOrdering)
Set the supportOrdering property: Value that indicates whether the topic supports ordering.
|
public OffsetDateTime accessedAt()
public String autoDeleteOnIdle()
public TopicResourceInner withAutoDeleteOnIdle(String autoDeleteOnIdle)
autoDeleteOnIdle - the autoDeleteOnIdle value to set.public EntityAvailabilityStatus entityAvailabilityStatus()
public TopicResourceInner withEntityAvailabilityStatus(EntityAvailabilityStatus entityAvailabilityStatus)
entityAvailabilityStatus - the entityAvailabilityStatus value to set.public OffsetDateTime createdAt()
public MessageCountDetails countDetails()
public String defaultMessageTimeToLive()
public TopicResourceInner withDefaultMessageTimeToLive(String defaultMessageTimeToLive)
defaultMessageTimeToLive - the defaultMessageTimeToLive value to set.public String duplicateDetectionHistoryTimeWindow()
public TopicResourceInner withDuplicateDetectionHistoryTimeWindow(String duplicateDetectionHistoryTimeWindow)
duplicateDetectionHistoryTimeWindow - the duplicateDetectionHistoryTimeWindow value to set.public Boolean enableBatchedOperations()
public TopicResourceInner withEnableBatchedOperations(Boolean enableBatchedOperations)
enableBatchedOperations - the enableBatchedOperations value to set.public Boolean enableExpress()
public TopicResourceInner withEnableExpress(Boolean enableExpress)
enableExpress - the enableExpress value to set.public Boolean enablePartitioning()
public TopicResourceInner withEnablePartitioning(Boolean enablePartitioning)
enablePartitioning - the enablePartitioning value to set.public Boolean filteringMessagesBeforePublishing()
public TopicResourceInner withFilteringMessagesBeforePublishing(Boolean filteringMessagesBeforePublishing)
filteringMessagesBeforePublishing - the filteringMessagesBeforePublishing value to set.public Boolean isAnonymousAccessible()
public TopicResourceInner withIsAnonymousAccessible(Boolean isAnonymousAccessible)
isAnonymousAccessible - the isAnonymousAccessible value to set.public Boolean isExpress()
public TopicResourceInner withIsExpress(Boolean isExpress)
isExpress - the isExpress value to set.public Long maxSizeInMegabytes()
public TopicResourceInner withMaxSizeInMegabytes(Long maxSizeInMegabytes)
maxSizeInMegabytes - the maxSizeInMegabytes value to set.public Boolean requiresDuplicateDetection()
public TopicResourceInner withRequiresDuplicateDetection(Boolean requiresDuplicateDetection)
requiresDuplicateDetection - the requiresDuplicateDetection value to set.public Long sizeInBytes()
public EntityStatus status()
public TopicResourceInner withStatus(EntityStatus status)
status - the status value to set.public Integer subscriptionCount()
public Boolean supportOrdering()
public TopicResourceInner withSupportOrdering(Boolean supportOrdering)
supportOrdering - the supportOrdering value to set.public OffsetDateTime updatedAt()
public String location()
location in class com.azure.core.management.Resourcepublic TopicResourceInner withLocation(String location)
withLocation in class com.azure.core.management.Resourcelocation - the location value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.