public class SBSubscriptionInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
SBSubscriptionInner() |
| Modifier and Type | Method and Description |
|---|---|
OffsetDateTime |
accessedAt()
Get the accessedAt property: Last time there was a receive request to this subscription.
|
Duration |
autoDeleteOnIdle()
Get the autoDeleteOnIdle property: ISO 8061 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.
|
Boolean |
deadLetteringOnFilterEvaluationExceptions()
Get the deadLetteringOnFilterEvaluationExceptions property: Value that indicates whether a subscription has dead
letter support on filter evaluation exceptions.
|
Boolean |
deadLetteringOnMessageExpiration()
Get the deadLetteringOnMessageExpiration property: Value that indicates whether a subscription has dead letter
support when a message expires.
|
Duration |
defaultMessageTimeToLive()
Get the defaultMessageTimeToLive property: ISO 8061 Default message timespan to live value.
|
Duration |
duplicateDetectionHistoryTimeWindow()
Get the duplicateDetectionHistoryTimeWindow property: ISO 8601 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.
|
String |
forwardDeadLetteredMessagesTo()
Get the forwardDeadLetteredMessagesTo property: Queue/Topic name to forward the Dead Letter message.
|
String |
forwardTo()
Get the forwardTo property: Queue/Topic name to forward the messages.
|
Duration |
lockDuration()
Get the lockDuration property: ISO 8061 lock duration timespan for the subscription.
|
Integer |
maxDeliveryCount()
Get the maxDeliveryCount property: Number of maximum deliveries.
|
Long |
messageCount()
Get the messageCount property: Number of messages.
|
Boolean |
requiresSession()
Get the requiresSession property: Value indicating if a subscription supports the concept of sessions.
|
EntityStatus |
status()
Get the status property: Enumerates the possible values for the status of a messaging entity.
|
OffsetDateTime |
updatedAt()
Get the updatedAt property: The exact time the message was updated.
|
void |
validate()
Validates the instance.
|
SBSubscriptionInner |
withAutoDeleteOnIdle(Duration autoDeleteOnIdle)
Set the autoDeleteOnIdle property: ISO 8061 timeSpan idle interval after which the topic is automatically
deleted.
|
SBSubscriptionInner |
withDeadLetteringOnFilterEvaluationExceptions(Boolean deadLetteringOnFilterEvaluationExceptions)
Set the deadLetteringOnFilterEvaluationExceptions property: Value that indicates whether a subscription has dead
letter support on filter evaluation exceptions.
|
SBSubscriptionInner |
withDeadLetteringOnMessageExpiration(Boolean deadLetteringOnMessageExpiration)
Set the deadLetteringOnMessageExpiration property: Value that indicates whether a subscription has dead letter
support when a message expires.
|
SBSubscriptionInner |
withDefaultMessageTimeToLive(Duration defaultMessageTimeToLive)
Set the defaultMessageTimeToLive property: ISO 8061 Default message timespan to live value.
|
SBSubscriptionInner |
withDuplicateDetectionHistoryTimeWindow(Duration duplicateDetectionHistoryTimeWindow)
Set the duplicateDetectionHistoryTimeWindow property: ISO 8601 timeSpan structure that defines the duration of
the duplicate detection history.
|
SBSubscriptionInner |
withEnableBatchedOperations(Boolean enableBatchedOperations)
Set the enableBatchedOperations property: Value that indicates whether server-side batched operations are
enabled.
|
SBSubscriptionInner |
withForwardDeadLetteredMessagesTo(String forwardDeadLetteredMessagesTo)
Set the forwardDeadLetteredMessagesTo property: Queue/Topic name to forward the Dead Letter message.
|
SBSubscriptionInner |
withForwardTo(String forwardTo)
Set the forwardTo property: Queue/Topic name to forward the messages.
|
SBSubscriptionInner |
withLockDuration(Duration lockDuration)
Set the lockDuration property: ISO 8061 lock duration timespan for the subscription.
|
SBSubscriptionInner |
withMaxDeliveryCount(Integer maxDeliveryCount)
Set the maxDeliveryCount property: Number of maximum deliveries.
|
SBSubscriptionInner |
withRequiresSession(Boolean requiresSession)
Set the requiresSession property: Value indicating if a subscription supports the concept of sessions.
|
SBSubscriptionInner |
withStatus(EntityStatus status)
Set the status property: Enumerates the possible values for the status of a messaging entity.
|
public Long messageCount()
public OffsetDateTime createdAt()
public OffsetDateTime accessedAt()
public OffsetDateTime updatedAt()
public MessageCountDetails countDetails()
public Duration lockDuration()
public SBSubscriptionInner withLockDuration(Duration lockDuration)
lockDuration - the lockDuration value to set.public Boolean requiresSession()
public SBSubscriptionInner withRequiresSession(Boolean requiresSession)
requiresSession - the requiresSession value to set.public Duration defaultMessageTimeToLive()
public SBSubscriptionInner withDefaultMessageTimeToLive(Duration defaultMessageTimeToLive)
defaultMessageTimeToLive - the defaultMessageTimeToLive value to set.public Boolean deadLetteringOnFilterEvaluationExceptions()
public SBSubscriptionInner withDeadLetteringOnFilterEvaluationExceptions(Boolean deadLetteringOnFilterEvaluationExceptions)
deadLetteringOnFilterEvaluationExceptions - the deadLetteringOnFilterEvaluationExceptions value to set.public Boolean deadLetteringOnMessageExpiration()
public SBSubscriptionInner withDeadLetteringOnMessageExpiration(Boolean deadLetteringOnMessageExpiration)
deadLetteringOnMessageExpiration - the deadLetteringOnMessageExpiration value to set.public Duration duplicateDetectionHistoryTimeWindow()
public SBSubscriptionInner withDuplicateDetectionHistoryTimeWindow(Duration duplicateDetectionHistoryTimeWindow)
duplicateDetectionHistoryTimeWindow - the duplicateDetectionHistoryTimeWindow value to set.public Integer maxDeliveryCount()
public SBSubscriptionInner withMaxDeliveryCount(Integer maxDeliveryCount)
maxDeliveryCount - the maxDeliveryCount value to set.public EntityStatus status()
public SBSubscriptionInner withStatus(EntityStatus status)
status - the status value to set.public Boolean enableBatchedOperations()
public SBSubscriptionInner withEnableBatchedOperations(Boolean enableBatchedOperations)
enableBatchedOperations - the enableBatchedOperations value to set.public Duration autoDeleteOnIdle()
public SBSubscriptionInner withAutoDeleteOnIdle(Duration autoDeleteOnIdle)
autoDeleteOnIdle - the autoDeleteOnIdle value to set.public String forwardTo()
public SBSubscriptionInner withForwardTo(String forwardTo)
forwardTo - the forwardTo value to set.public String forwardDeadLetteredMessagesTo()
public SBSubscriptionInner withForwardDeadLetteredMessagesTo(String forwardDeadLetteredMessagesTo)
forwardDeadLetteredMessagesTo - the forwardDeadLetteredMessagesTo value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.