public class SBQueueInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
SBQueueInner() |
| Modifier and Type | Method and Description |
|---|---|
OffsetDateTime |
accessedAt()
Get the accessedAt property: Last time a message was sent, or the last time there was a receive request to this
queue.
|
Duration |
autoDeleteOnIdle()
Get the autoDeleteOnIdle property: ISO 8061 timeSpan idle interval after which the queue is automatically
deleted.
|
MessageCountDetails |
countDetails()
Get the countDetails property: Message Count Details.
|
OffsetDateTime |
createdAt()
Get the createdAt property: The exact time the message was created.
|
Boolean |
deadLetteringOnMessageExpiration()
Get the deadLetteringOnMessageExpiration property: A value that indicates whether this queue has dead letter
support when a message expires.
|
Duration |
defaultMessageTimeToLive()
Get the defaultMessageTimeToLive property: ISO 8601 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.
|
Boolean |
enableExpress()
Get the enableExpress property: A value that indicates whether Express Entities are enabled.
|
Boolean |
enablePartitioning()
Get the enablePartitioning property: A value that indicates whether the queue is to be partitioned across
multiple message brokers.
|
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 8601 timespan duration of a peek-lock; that is, the amount of time that the
message is locked for other receivers.
|
Integer |
maxDeliveryCount()
Get the maxDeliveryCount property: The maximum delivery count.
|
Integer |
maxSizeInMegabytes()
Get the maxSizeInMegabytes property: The maximum size of the queue in megabytes, which is the size of memory
allocated for the queue.
|
Long |
messageCount()
Get the messageCount property: The number of messages in the queue.
|
Boolean |
requiresDuplicateDetection()
Get the requiresDuplicateDetection property: A value indicating if this queue requires duplicate detection.
|
Boolean |
requiresSession()
Get the requiresSession property: A value that indicates whether the queue supports the concept of sessions.
|
Long |
sizeInBytes()
Get the sizeInBytes property: The size of the queue, in bytes.
|
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.
|
SBQueueInner |
withAutoDeleteOnIdle(Duration autoDeleteOnIdle)
Set the autoDeleteOnIdle property: ISO 8061 timeSpan idle interval after which the queue is automatically
deleted.
|
SBQueueInner |
withDeadLetteringOnMessageExpiration(Boolean deadLetteringOnMessageExpiration)
Set the deadLetteringOnMessageExpiration property: A value that indicates whether this queue has dead letter
support when a message expires.
|
SBQueueInner |
withDefaultMessageTimeToLive(Duration defaultMessageTimeToLive)
Set the defaultMessageTimeToLive property: ISO 8601 default message timespan to live value.
|
SBQueueInner |
withDuplicateDetectionHistoryTimeWindow(Duration duplicateDetectionHistoryTimeWindow)
Set the duplicateDetectionHistoryTimeWindow property: ISO 8601 timeSpan structure that defines the duration of
the duplicate detection history.
|
SBQueueInner |
withEnableBatchedOperations(Boolean enableBatchedOperations)
Set the enableBatchedOperations property: Value that indicates whether server-side batched operations are
enabled.
|
SBQueueInner |
withEnableExpress(Boolean enableExpress)
Set the enableExpress property: A value that indicates whether Express Entities are enabled.
|
SBQueueInner |
withEnablePartitioning(Boolean enablePartitioning)
Set the enablePartitioning property: A value that indicates whether the queue is to be partitioned across
multiple message brokers.
|
SBQueueInner |
withForwardDeadLetteredMessagesTo(String forwardDeadLetteredMessagesTo)
Set the forwardDeadLetteredMessagesTo property: Queue/Topic name to forward the Dead Letter message.
|
SBQueueInner |
withForwardTo(String forwardTo)
Set the forwardTo property: Queue/Topic name to forward the messages.
|
SBQueueInner |
withLockDuration(Duration lockDuration)
Set the lockDuration property: ISO 8601 timespan duration of a peek-lock; that is, the amount of time that the
message is locked for other receivers.
|
SBQueueInner |
withMaxDeliveryCount(Integer maxDeliveryCount)
Set the maxDeliveryCount property: The maximum delivery count.
|
SBQueueInner |
withMaxSizeInMegabytes(Integer maxSizeInMegabytes)
Set the maxSizeInMegabytes property: The maximum size of the queue in megabytes, which is the size of memory
allocated for the queue.
|
SBQueueInner |
withRequiresDuplicateDetection(Boolean requiresDuplicateDetection)
Set the requiresDuplicateDetection property: A value indicating if this queue requires duplicate detection.
|
SBQueueInner |
withRequiresSession(Boolean requiresSession)
Set the requiresSession property: A value that indicates whether the queue supports the concept of sessions.
|
SBQueueInner |
withStatus(EntityStatus status)
Set the status property: Enumerates the possible values for the status of a messaging entity.
|
public MessageCountDetails countDetails()
public OffsetDateTime createdAt()
public OffsetDateTime updatedAt()
public OffsetDateTime accessedAt()
public Long sizeInBytes()
public Long messageCount()
public Duration lockDuration()
public SBQueueInner withLockDuration(Duration lockDuration)
lockDuration - the lockDuration value to set.public Integer maxSizeInMegabytes()
public SBQueueInner withMaxSizeInMegabytes(Integer maxSizeInMegabytes)
maxSizeInMegabytes - the maxSizeInMegabytes value to set.public Boolean requiresDuplicateDetection()
public SBQueueInner withRequiresDuplicateDetection(Boolean requiresDuplicateDetection)
requiresDuplicateDetection - the requiresDuplicateDetection value to set.public Boolean requiresSession()
public SBQueueInner withRequiresSession(Boolean requiresSession)
requiresSession - the requiresSession value to set.public Duration defaultMessageTimeToLive()
public SBQueueInner withDefaultMessageTimeToLive(Duration defaultMessageTimeToLive)
defaultMessageTimeToLive - the defaultMessageTimeToLive value to set.public Boolean deadLetteringOnMessageExpiration()
public SBQueueInner withDeadLetteringOnMessageExpiration(Boolean deadLetteringOnMessageExpiration)
deadLetteringOnMessageExpiration - the deadLetteringOnMessageExpiration value to set.public Duration duplicateDetectionHistoryTimeWindow()
public SBQueueInner withDuplicateDetectionHistoryTimeWindow(Duration duplicateDetectionHistoryTimeWindow)
duplicateDetectionHistoryTimeWindow - the duplicateDetectionHistoryTimeWindow value to set.public Integer maxDeliveryCount()
public SBQueueInner withMaxDeliveryCount(Integer maxDeliveryCount)
maxDeliveryCount - the maxDeliveryCount value to set.public EntityStatus status()
public SBQueueInner withStatus(EntityStatus status)
status - the status value to set.public Boolean enableBatchedOperations()
public SBQueueInner withEnableBatchedOperations(Boolean enableBatchedOperations)
enableBatchedOperations - the enableBatchedOperations value to set.public Duration autoDeleteOnIdle()
public SBQueueInner withAutoDeleteOnIdle(Duration autoDeleteOnIdle)
autoDeleteOnIdle - the autoDeleteOnIdle value to set.public Boolean enablePartitioning()
public SBQueueInner withEnablePartitioning(Boolean enablePartitioning)
enablePartitioning - the enablePartitioning value to set.public Boolean enableExpress()
public SBQueueInner withEnableExpress(Boolean enableExpress)
enableExpress - the enableExpress value to set.public String forwardTo()
public SBQueueInner withForwardTo(String forwardTo)
forwardTo - the forwardTo value to set.public String forwardDeadLetteredMessagesTo()
public SBQueueInner 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.