Class GetQueueResult


  • public final class GetQueueResult
    extends java.lang.Object
    • Method Detail

      • accessedAt

        public java.lang.String accessedAt()
        Returns:
        Last time a message was sent, or the last time there was a receive request to this queue.
      • autoDeleteOnIdle

        public java.util.Optional<java.lang.String> autoDeleteOnIdle()
        Returns:
        ISO 8061 timeSpan idle interval after which the queue is automatically deleted. The minimum duration is 5 minutes.
      • createdAt

        public java.lang.String createdAt()
        Returns:
        The exact time the message was created.
      • deadLetteringOnMessageExpiration

        public java.util.Optional<java.lang.Boolean> deadLetteringOnMessageExpiration()
        Returns:
        A value that indicates whether this queue has dead letter support when a message expires.
      • defaultMessageTimeToLive

        public java.util.Optional<java.lang.String> defaultMessageTimeToLive()
        Returns:
        ISO 8601 default message timespan to live value. This is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself.
      • duplicateDetectionHistoryTimeWindow

        public java.util.Optional<java.lang.String> duplicateDetectionHistoryTimeWindow()
        Returns:
        ISO 8601 timeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
      • enableBatchedOperations

        public java.util.Optional<java.lang.Boolean> enableBatchedOperations()
        Returns:
        Value that indicates whether server-side batched operations are enabled.
      • enableExpress

        public java.util.Optional<java.lang.Boolean> enableExpress()
        Returns:
        A value that indicates whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage.
      • enablePartitioning

        public java.util.Optional<java.lang.Boolean> enablePartitioning()
        Returns:
        A value that indicates whether the queue is to be partitioned across multiple message brokers.
      • forwardDeadLetteredMessagesTo

        public java.util.Optional<java.lang.String> forwardDeadLetteredMessagesTo()
        Returns:
        Queue/Topic name to forward the Dead Letter message
      • forwardTo

        public java.util.Optional<java.lang.String> forwardTo()
        Returns:
        Queue/Topic name to forward the messages
      • id

        public java.lang.String id()
        Returns:
        Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
      • location

        public java.lang.String location()
        Returns:
        The geo-location where the resource lives
      • lockDuration

        public java.util.Optional<java.lang.String> lockDuration()
        Returns:
        ISO 8601 timespan duration of a peek-lock; that is, the amount of time that the message is locked for other receivers. The maximum value for LockDuration is 5 minutes; the default value is 1 minute.
      • maxDeliveryCount

        public java.util.Optional<java.lang.Integer> maxDeliveryCount()
        Returns:
        The maximum delivery count. A message is automatically deadlettered after this number of deliveries. default value is 10.
      • maxMessageSizeInKilobytes

        public java.util.Optional<java.lang.Double> maxMessageSizeInKilobytes()
        Returns:
        Maximum size (in KB) of the message payload that can be accepted by the queue. This property is only used in Premium today and default is 1024.
      • maxSizeInMegabytes

        public java.util.Optional<java.lang.Integer> maxSizeInMegabytes()
        Returns:
        The maximum size of the queue in megabytes, which is the size of memory allocated for the queue. Default is 1024.
      • messageCount

        public java.lang.Double messageCount()
        Returns:
        The number of messages in the queue.
      • name

        public java.lang.String name()
        Returns:
        The name of the resource
      • requiresDuplicateDetection

        public java.util.Optional<java.lang.Boolean> requiresDuplicateDetection()
        Returns:
        A value indicating if this queue requires duplicate detection.
      • requiresSession

        public java.util.Optional<java.lang.Boolean> requiresSession()
        Returns:
        A value that indicates whether the queue supports the concept of sessions.
      • sizeInBytes

        public java.lang.Double sizeInBytes()
        Returns:
        The size of the queue, in bytes.
      • status

        public java.util.Optional<java.lang.String> status()
        Returns:
        Enumerates the possible values for the status of a messaging entity.
      • systemData

        public SystemDataResponse systemData()
        Returns:
        The system meta data relating to this resource.
      • type

        public java.lang.String type()
        Returns:
        The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
      • updatedAt

        public java.lang.String updatedAt()
        Returns:
        The exact time the message was updated.