public class QueueResourceInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
QueueResourceInner() |
| 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.
|
String |
autoDeleteOnIdle()
Get the autoDeleteOnIdle property: the 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.
|
String |
defaultMessageTimeToLive()
Get the defaultMessageTimeToLive property: The 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: A 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.
|
EntityAvailabilityStatus |
entityAvailabilityStatus()
Get the entityAvailabilityStatus property: Entity availability status for the queue.
|
Boolean |
isAnonymousAccessible()
Get the isAnonymousAccessible property: A value that indicates whether the message is accessible anonymously.
|
String |
location()
Get the location property: Resource location.
|
String |
lockDuration()
Get the lockDuration property: The 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.
|
Long |
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.
|
Boolean |
supportOrdering()
Get the supportOrdering property: A value that indicates whether the queue supports ordering.
|
OffsetDateTime |
updatedAt()
Get the updatedAt property: The exact time the message was updated.
|
void |
validate()
Validates the instance.
|
QueueResourceInner |
withAutoDeleteOnIdle(String autoDeleteOnIdle)
Set the autoDeleteOnIdle property: the TimeSpan idle interval after which the queue is automatically deleted.
|
QueueResourceInner |
withDeadLetteringOnMessageExpiration(Boolean deadLetteringOnMessageExpiration)
Set the deadLetteringOnMessageExpiration property: A value that indicates whether this queue has dead letter
support when a message expires.
|
QueueResourceInner |
withDefaultMessageTimeToLive(String defaultMessageTimeToLive)
Set the defaultMessageTimeToLive property: The default message time to live value.
|
QueueResourceInner |
withDuplicateDetectionHistoryTimeWindow(String duplicateDetectionHistoryTimeWindow)
Set the duplicateDetectionHistoryTimeWindow property: TimeSpan structure that defines the duration of the
duplicate detection history.
|
QueueResourceInner |
withEnableBatchedOperations(Boolean enableBatchedOperations)
Set the enableBatchedOperations property: A value that indicates whether server-side batched operations are
enabled.
|
QueueResourceInner |
withEnableExpress(Boolean enableExpress)
Set the enableExpress property: A value that indicates whether Express Entities are enabled.
|
QueueResourceInner |
withEnablePartitioning(Boolean enablePartitioning)
Set the enablePartitioning property: A value that indicates whether the queue is to be partitioned across
multiple message brokers.
|
QueueResourceInner |
withEntityAvailabilityStatus(EntityAvailabilityStatus entityAvailabilityStatus)
Set the entityAvailabilityStatus property: Entity availability status for the queue.
|
QueueResourceInner |
withIsAnonymousAccessible(Boolean isAnonymousAccessible)
Set the isAnonymousAccessible property: A value that indicates whether the message is accessible anonymously.
|
QueueResourceInner |
withLocation(String location)
Set the location property: Resource location.
|
QueueResourceInner |
withLockDuration(String lockDuration)
Set the lockDuration property: The duration of a peek-lock; that is, the amount of time that the message is
locked for other receivers.
|
QueueResourceInner |
withMaxDeliveryCount(Integer maxDeliveryCount)
Set the maxDeliveryCount property: The maximum delivery count.
|
QueueResourceInner |
withMaxSizeInMegabytes(Long maxSizeInMegabytes)
Set the maxSizeInMegabytes property: The maximum size of the queue in megabytes, which is the size of memory
allocated for the queue.
|
QueueResourceInner |
withRequiresDuplicateDetection(Boolean requiresDuplicateDetection)
Set the requiresDuplicateDetection property: A value indicating if this queue requires duplicate detection.
|
QueueResourceInner |
withRequiresSession(Boolean requiresSession)
Set the requiresSession property: A value that indicates whether the queue supports the concept of sessions.
|
QueueResourceInner |
withStatus(EntityStatus status)
Set the status property: Enumerates the possible values for the status of a messaging entity.
|
QueueResourceInner |
withSupportOrdering(Boolean supportOrdering)
Set the supportOrdering property: A value that indicates whether the queue supports ordering.
|
public String lockDuration()
public QueueResourceInner withLockDuration(String lockDuration)
lockDuration - the lockDuration value to set.public OffsetDateTime accessedAt()
public String autoDeleteOnIdle()
public QueueResourceInner withAutoDeleteOnIdle(String autoDeleteOnIdle)
autoDeleteOnIdle - the autoDeleteOnIdle value to set.public EntityAvailabilityStatus entityAvailabilityStatus()
public QueueResourceInner withEntityAvailabilityStatus(EntityAvailabilityStatus entityAvailabilityStatus)
entityAvailabilityStatus - the entityAvailabilityStatus value to set.public OffsetDateTime createdAt()
public String defaultMessageTimeToLive()
public QueueResourceInner withDefaultMessageTimeToLive(String defaultMessageTimeToLive)
defaultMessageTimeToLive - the defaultMessageTimeToLive value to set.public String duplicateDetectionHistoryTimeWindow()
public QueueResourceInner withDuplicateDetectionHistoryTimeWindow(String duplicateDetectionHistoryTimeWindow)
duplicateDetectionHistoryTimeWindow - the duplicateDetectionHistoryTimeWindow value to set.public Boolean enableBatchedOperations()
public QueueResourceInner withEnableBatchedOperations(Boolean enableBatchedOperations)
enableBatchedOperations - the enableBatchedOperations value to set.public Boolean deadLetteringOnMessageExpiration()
public QueueResourceInner withDeadLetteringOnMessageExpiration(Boolean deadLetteringOnMessageExpiration)
deadLetteringOnMessageExpiration - the deadLetteringOnMessageExpiration value to set.public Boolean enableExpress()
public QueueResourceInner withEnableExpress(Boolean enableExpress)
enableExpress - the enableExpress value to set.public Boolean enablePartitioning()
public QueueResourceInner withEnablePartitioning(Boolean enablePartitioning)
enablePartitioning - the enablePartitioning value to set.public Boolean isAnonymousAccessible()
public QueueResourceInner withIsAnonymousAccessible(Boolean isAnonymousAccessible)
isAnonymousAccessible - the isAnonymousAccessible value to set.public Integer maxDeliveryCount()
public QueueResourceInner withMaxDeliveryCount(Integer maxDeliveryCount)
maxDeliveryCount - the maxDeliveryCount value to set.public Long maxSizeInMegabytes()
public QueueResourceInner withMaxSizeInMegabytes(Long maxSizeInMegabytes)
maxSizeInMegabytes - the maxSizeInMegabytes value to set.public Long messageCount()
public MessageCountDetails countDetails()
public Boolean requiresDuplicateDetection()
public QueueResourceInner withRequiresDuplicateDetection(Boolean requiresDuplicateDetection)
requiresDuplicateDetection - the requiresDuplicateDetection value to set.public Boolean requiresSession()
public QueueResourceInner withRequiresSession(Boolean requiresSession)
requiresSession - the requiresSession value to set.public Long sizeInBytes()
public EntityStatus status()
public QueueResourceInner withStatus(EntityStatus status)
status - the status value to set.public Boolean supportOrdering()
public QueueResourceInner withSupportOrdering(Boolean supportOrdering)
supportOrdering - the supportOrdering value to set.public OffsetDateTime updatedAt()
public String location()
location in class com.azure.core.management.Resourcepublic QueueResourceInner 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.