azure-docs-sdk-java/legacy/docs-ref-autogen/com.microsoft.azure.service...

358 строки
30 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.servicebus.management.QueueDescription"
fullName: "com.microsoft.azure.servicebus.management.QueueDescription"
name: "QueueDescription"
nameWithType: "QueueDescription"
summary: "Represents the metadata description of the queue."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.management.UnknownPropertiesHolder?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public class **QueueDescription**</br> extends <xref href=\"com.microsoft.azure.servicebus.management.UnknownPropertiesHolder?alt=com.microsoft.azure.servicebus.management.UnknownPropertiesHolder&text=UnknownPropertiesHolder\" data-throw-if-not-resolved=\"False\" />"
constructors:
- uid: "com.microsoft.azure.servicebus.management.QueueDescription.QueueDescription(java.lang.String)"
fullName: "com.microsoft.azure.servicebus.management.QueueDescription.QueueDescription(String path)"
name: "QueueDescription(String path)"
nameWithType: "QueueDescription.QueueDescription(String path)"
summary: "Initializes a new instance of Queue<wbr>Description with the specified relative path."
parameters:
- description: "- Path of the topic.\n Max length is 260 chars. Cannot start or end with a slash.\n Cannot have restricted characters: '@','?','#','*'"
name: "path"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public QueueDescription(String path)"
desc: "Initializes a new instance of QueueDescription with the specified relative path."
methods:
- uid: "com.microsoft.azure.servicebus.management.QueueDescription.equals(java.lang.Object)"
fullName: "com.microsoft.azure.servicebus.management.QueueDescription.equals(Object o)"
name: "equals(Object o)"
nameWithType: "QueueDescription.equals(Object o)"
overridden: "java.lang.Object.equals(java.lang.Object)"
parameters:
- name: "o"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
syntax: "public boolean equals(Object o)"
returns:
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.servicebus.management.QueueDescription.getAuthorizationRules()"
fullName: "com.microsoft.azure.servicebus.management.QueueDescription.getAuthorizationRules()"
name: "getAuthorizationRules()"
nameWithType: "QueueDescription.getAuthorizationRules()"
syntax: "public List<AuthorizationRule> getAuthorizationRules()"
returns:
description: "The <xref uid=\"com.microsoft.azure.servicebus.management.AuthorizationRule\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AuthorizationRule\"></xref> on the queue to control user access at entity level."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.microsoft.azure.servicebus.management.AuthorizationRule?alt=com.microsoft.azure.servicebus.management.AuthorizationRule&text=AuthorizationRule\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.microsoft.azure.servicebus.management.QueueDescription.getAutoDeleteOnIdle()"
fullName: "com.microsoft.azure.servicebus.management.QueueDescription.getAutoDeleteOnIdle()"
name: "getAutoDeleteOnIdle()"
nameWithType: "QueueDescription.getAutoDeleteOnIdle()"
syntax: "public Duration getAutoDeleteOnIdle()"
returns:
description: "The idle interval after which the queue is automatically deleted.\n Default value is <xref uid=\"com.microsoft.azure.servicebus.management.ManagementClientConstants.MAX_DURATION\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ManagementClientConstants#MAX_DURATION\"></xref>"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
- uid: "com.microsoft.azure.servicebus.management.QueueDescription.getDefaultMessageTimeToLive()"
fullName: "com.microsoft.azure.servicebus.management.QueueDescription.getDefaultMessageTimeToLive()"
name: "getDefaultMessageTimeToLive()"
nameWithType: "QueueDescription.getDefaultMessageTimeToLive()"
summary: "Time-To-Live is the duration after which the message expires, starting from when the message is sent to Service Bus."
syntax: "public Duration getDefaultMessageTimeToLive()"
desc: "Time-To-Live 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 <xref uid=\"com.microsoft.azure.servicebus.IMessage.getTimeToLive()\" data-throw-if-not-resolved=\"false\" data-raw-source=\"IMessage#getTimeToLive()\"></xref> is not set on a message itself. Messages older than their TimeToLive value will expire and no longer be retained in the message store. Subscribers will be unable to receive expired messages."
returns:
description: "The default time to live value for the messages. Default value is <xref uid=\"com.microsoft.azure.servicebus.management.ManagementClientConstants.MAX_DURATION\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ManagementClientConstants#MAX_DURATION\"></xref>"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
- uid: "com.microsoft.azure.servicebus.management.QueueDescription.getDuplicationDetectionHistoryTimeWindow()"
fullName: "com.microsoft.azure.servicebus.management.QueueDescription.getDuplicationDetectionHistoryTimeWindow()"
name: "getDuplicationDetectionHistoryTimeWindow()"
nameWithType: "QueueDescription.getDuplicationDetectionHistoryTimeWindow()"
syntax: "public Duration getDuplicationDetectionHistoryTimeWindow()"
returns:
description: "The duration of duplicate detection history that is maintained by the service.\n The default value is 1 minute."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
- uid: "com.microsoft.azure.servicebus.management.QueueDescription.getEntityStatus()"
fullName: "com.microsoft.azure.servicebus.management.QueueDescription.getEntityStatus()"
name: "getEntityStatus()"
nameWithType: "QueueDescription.getEntityStatus()"
summary: "Gets the status of the entity."
syntax: "public EntityStatus getEntityStatus()"
desc: "Gets the status of the entity. When an entity is disabled, that entity cannot send or receive messages."
returns:
description: "The current status of the queue (Enabled / Disabled).\n The default value is Enabled."
type: "<xref href=\"com.microsoft.azure.servicebus.management.EntityStatus?alt=com.microsoft.azure.servicebus.management.EntityStatus&text=EntityStatus\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.servicebus.management.QueueDescription.getForwardDeadLetteredMessagesTo()"
fullName: "com.microsoft.azure.servicebus.management.QueueDescription.getForwardDeadLetteredMessagesTo()"
name: "getForwardDeadLetteredMessagesTo()"
nameWithType: "QueueDescription.getForwardDeadLetteredMessagesTo()"
syntax: "public String getForwardDeadLetteredMessagesTo()"
returns:
description: "The path of the recipient entity to which all the dead-lettered messages of this queue are forwarded to.\n If set, user cannot manually receive dead-lettered messages from this queue. The destination\n entity must already exist."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.microsoft.azure.servicebus.management.QueueDescription.getForwardTo()"
fullName: "com.microsoft.azure.servicebus.management.QueueDescription.getForwardTo()"
name: "getForwardTo()"
nameWithType: "QueueDescription.getForwardTo()"
syntax: "public String getForwardTo()"
returns:
description: "The path of the recipient entity to which all the messages sent to the queue are forwarded to.\n If set, user cannot manually receive messages from this queue. The destination entity\n must be an already existing entity."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.microsoft.azure.servicebus.management.QueueDescription.getLockDuration()"
fullName: "com.microsoft.azure.servicebus.management.QueueDescription.getLockDuration()"
name: "getLockDuration()"
nameWithType: "QueueDescription.getLockDuration()"
summary: "The amount of time that the message is locked by a given receiver so that no other receiver receives the same message."
syntax: "public Duration getLockDuration()"
desc: "The amount of time that the message is locked by a given receiver so that no other receiver receives the same message."
returns:
description: "The duration of a peek lock. Default value is 60 seconds."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
- uid: "com.microsoft.azure.servicebus.management.QueueDescription.getMaxDeliveryCount()"
fullName: "com.microsoft.azure.servicebus.management.QueueDescription.getMaxDeliveryCount()"
name: "getMaxDeliveryCount()"
nameWithType: "QueueDescription.getMaxDeliveryCount()"
summary: "The maximum delivery count of a message before it is dead-lettered."
syntax: "public int getMaxDeliveryCount()"
desc: "The maximum delivery count of a message before it is dead-lettered. The delivery count is increased when a message is received in <xref uid=\"com.microsoft.azure.servicebus.ReceiveMode.PEEKLOCK\" data-throw-if-not-resolved=\"false\" data-raw-source=\"com.microsoft.azure.servicebus.ReceiveMode#PEEKLOCK\"></xref> mode and didn't complete the message before the message lock expired."
returns:
description: "Default value is 10."
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.servicebus.management.QueueDescription.getMaxSizeInMB()"
fullName: "com.microsoft.azure.servicebus.management.QueueDescription.getMaxSizeInMB()"
name: "getMaxSizeInMB()"
nameWithType: "QueueDescription.getMaxSizeInMB()"
syntax: "public long getMaxSizeInMB()"
returns:
description: "the maximum size of the queue in megabytes, which is the size of memory allocated for the queue.\n Default value is 1024."
type: "<xref href=\"long?alt=long&text=long\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.servicebus.management.QueueDescription.getPath()"
fullName: "com.microsoft.azure.servicebus.management.QueueDescription.getPath()"
name: "getPath()"
nameWithType: "QueueDescription.getPath()"
syntax: "public String getPath()"
returns:
description: "The path of the queue."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.microsoft.azure.servicebus.management.QueueDescription.getUserMetadata()"
fullName: "com.microsoft.azure.servicebus.management.QueueDescription.getUserMetadata()"
name: "getUserMetadata()"
nameWithType: "QueueDescription.getUserMetadata()"
syntax: "public String getUserMetadata()"
returns:
description: "Custom metdata that user can associate with the description."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.microsoft.azure.servicebus.management.QueueDescription.hashCode()"
fullName: "com.microsoft.azure.servicebus.management.QueueDescription.hashCode()"
name: "hashCode()"
nameWithType: "QueueDescription.hashCode()"
overridden: "java.lang.Object.hashCode()"
syntax: "public int hashCode()"
returns:
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.servicebus.management.QueueDescription.isEnableBatchedOperations()"
fullName: "com.microsoft.azure.servicebus.management.QueueDescription.isEnableBatchedOperations()"
name: "isEnableBatchedOperations()"
nameWithType: "QueueDescription.isEnableBatchedOperations()"
syntax: "public boolean isEnableBatchedOperations()"
returns:
description: "Indicates whether server-side batched operations are enabled.\n Defaults to true."
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.servicebus.management.QueueDescription.isEnableDeadLetteringOnMessageExpiration()"
fullName: "com.microsoft.azure.servicebus.management.QueueDescription.isEnableDeadLetteringOnMessageExpiration()"
name: "isEnableDeadLetteringOnMessageExpiration()"
nameWithType: "QueueDescription.isEnableDeadLetteringOnMessageExpiration()"
summary: "Indicates whether this queue has dead letter support when a message expires."
syntax: "public boolean isEnableDeadLetteringOnMessageExpiration()"
desc: "Indicates whether this queue has dead letter support when a message expires."
returns:
description: "If true, the expired messages are moved to dead-letter sub-queue.\n Default value is false."
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.servicebus.management.QueueDescription.isEnablePartitioning()"
fullName: "com.microsoft.azure.servicebus.management.QueueDescription.isEnablePartitioning()"
name: "isEnablePartitioning()"
nameWithType: "QueueDescription.isEnablePartitioning()"
syntax: "public boolean isEnablePartitioning()"
returns:
description: "boolean indicating whether the queue is to be partitioned across multiple message brokers.\n Defaults to false"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.servicebus.management.QueueDescription.isRequiresDuplicateDetection()"
fullName: "com.microsoft.azure.servicebus.management.QueueDescription.isRequiresDuplicateDetection()"
name: "isRequiresDuplicateDetection()"
nameWithType: "QueueDescription.isRequiresDuplicateDetection()"
summary: "If enabled, duplicate messages having same <xref uid=\"com.microsoft.azure.servicebus.IMessage.getMessageId()\" data-throw-if-not-resolved=\"false\" data-raw-source=\"IMessage#getMessageId()\"></xref> and sent to queue within duration of <xref uid=\"com.microsoft.azure.servicebus.management.QueueDescription.getDuplicationDetectionHistoryTimeWindow*\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#getDuplicationDetectionHistoryTimeWindow\"></xref> will be discarded."
syntax: "public boolean isRequiresDuplicateDetection()"
desc: "If enabled, duplicate messages having same <xref uid=\"com.microsoft.azure.servicebus.IMessage.getMessageId()\" data-throw-if-not-resolved=\"false\" data-raw-source=\"IMessage#getMessageId()\"></xref> and sent to queue within duration of <xref uid=\"com.microsoft.azure.servicebus.management.QueueDescription.getDuplicationDetectionHistoryTimeWindow*\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#getDuplicationDetectionHistoryTimeWindow\"></xref> will be discarded."
returns:
description: "value indicating if the queue requires guard against duplicate messages."
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.servicebus.management.QueueDescription.isRequiresSession()"
fullName: "com.microsoft.azure.servicebus.management.QueueDescription.isRequiresSession()"
name: "isRequiresSession()"
nameWithType: "QueueDescription.isRequiresSession()"
syntax: "public boolean isRequiresSession()"
returns:
description: "boolean that indicates whether the queue supports the concept of session. Sessionful-messages follow FIFO ordering."
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.servicebus.management.QueueDescription.setAuthorizationRules(java.util.List<com.microsoft.azure.servicebus.management.AuthorizationRule>)"
fullName: "com.microsoft.azure.servicebus.management.QueueDescription.setAuthorizationRules(List<AuthorizationRule> authorizationRules)"
name: "setAuthorizationRules(List<AuthorizationRule> authorizationRules)"
nameWithType: "QueueDescription.setAuthorizationRules(List<AuthorizationRule> authorizationRules)"
parameters:
- description: "- The <xref uid=\"com.microsoft.azure.servicebus.management.AuthorizationRule\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AuthorizationRule\"></xref> on the queue to control user access at entity level."
name: "authorizationRules"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.microsoft.azure.servicebus.management.AuthorizationRule?alt=com.microsoft.azure.servicebus.management.AuthorizationRule&text=AuthorizationRule\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public void setAuthorizationRules(List<AuthorizationRule> authorizationRules)"
- uid: "com.microsoft.azure.servicebus.management.QueueDescription.setAutoDeleteOnIdle(java.time.Duration)"
fullName: "com.microsoft.azure.servicebus.management.QueueDescription.setAutoDeleteOnIdle(Duration autoDeleteOnIdle)"
name: "setAutoDeleteOnIdle(Duration autoDeleteOnIdle)"
nameWithType: "QueueDescription.setAutoDeleteOnIdle(Duration autoDeleteOnIdle)"
parameters:
- description: "- The idle interval after which the queue is automatically deleted.\n The minimum duration is 5 minutes."
name: "autoDeleteOnIdle"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
syntax: "public void setAutoDeleteOnIdle(Duration autoDeleteOnIdle)"
- uid: "com.microsoft.azure.servicebus.management.QueueDescription.setDefaultMessageTimeToLive(java.time.Duration)"
fullName: "com.microsoft.azure.servicebus.management.QueueDescription.setDefaultMessageTimeToLive(Duration defaultMessageTimeToLive)"
name: "setDefaultMessageTimeToLive(Duration defaultMessageTimeToLive)"
nameWithType: "QueueDescription.setDefaultMessageTimeToLive(Duration defaultMessageTimeToLive)"
parameters:
- description: "- The default message time to live value.\n Value cannot be lower than 1 second.\n See <xref uid=\"com.microsoft.azure.servicebus.management.QueueDescription.getDefaultMessageTimeToLive()\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#getDefaultMessageTimeToLive()\"></xref>"
name: "defaultMessageTimeToLive"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
syntax: "public void setDefaultMessageTimeToLive(Duration defaultMessageTimeToLive)"
- uid: "com.microsoft.azure.servicebus.management.QueueDescription.setDuplicationDetectionHistoryTimeWindow(java.time.Duration)"
fullName: "com.microsoft.azure.servicebus.management.QueueDescription.setDuplicationDetectionHistoryTimeWindow(Duration duplicationDetectionHistoryTimeWindow)"
name: "setDuplicationDetectionHistoryTimeWindow(Duration duplicationDetectionHistoryTimeWindow)"
nameWithType: "QueueDescription.setDuplicationDetectionHistoryTimeWindow(Duration duplicationDetectionHistoryTimeWindow)"
parameters:
- description: "- The duration of duplicate detection history that is maintained by the service.\n Max value is 1 day and minimum is 20 seconds."
name: "duplicationDetectionHistoryTimeWindow"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
syntax: "public void setDuplicationDetectionHistoryTimeWindow(Duration duplicationDetectionHistoryTimeWindow)"
- uid: "com.microsoft.azure.servicebus.management.QueueDescription.setEnableBatchedOperations(boolean)"
fullName: "com.microsoft.azure.servicebus.management.QueueDescription.setEnableBatchedOperations(boolean enableBatchedOperations)"
name: "setEnableBatchedOperations(boolean enableBatchedOperations)"
nameWithType: "QueueDescription.setEnableBatchedOperations(boolean enableBatchedOperations)"
parameters:
- description: "- Indicates whether server-side batched operations are enabled."
name: "enableBatchedOperations"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
syntax: "public void setEnableBatchedOperations(boolean enableBatchedOperations)"
- uid: "com.microsoft.azure.servicebus.management.QueueDescription.setEnableDeadLetteringOnMessageExpiration(boolean)"
fullName: "com.microsoft.azure.servicebus.management.QueueDescription.setEnableDeadLetteringOnMessageExpiration(boolean enableDeadLetteringOnMessageExpiration)"
name: "setEnableDeadLetteringOnMessageExpiration(boolean enableDeadLetteringOnMessageExpiration)"
nameWithType: "QueueDescription.setEnableDeadLetteringOnMessageExpiration(boolean enableDeadLetteringOnMessageExpiration)"
parameters:
- description: "- True if messages should be dead-lettered on expiration.\n See <xref uid=\"com.microsoft.azure.servicebus.management.QueueDescription.isEnableDeadLetteringOnMessageExpiration()\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#isEnableDeadLetteringOnMessageExpiration()\"></xref>"
name: "enableDeadLetteringOnMessageExpiration"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
syntax: "public void setEnableDeadLetteringOnMessageExpiration(boolean enableDeadLetteringOnMessageExpiration)"
- uid: "com.microsoft.azure.servicebus.management.QueueDescription.setEnablePartitioning(boolean)"
fullName: "com.microsoft.azure.servicebus.management.QueueDescription.setEnablePartitioning(boolean enablePartitioning)"
name: "setEnablePartitioning(boolean enablePartitioning)"
nameWithType: "QueueDescription.setEnablePartitioning(boolean enablePartitioning)"
parameters:
- description: "- true if queue is to be partitioned across multiple message brokers."
name: "enablePartitioning"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
syntax: "public void setEnablePartitioning(boolean enablePartitioning)"
- uid: "com.microsoft.azure.servicebus.management.QueueDescription.setEntityStatus(com.microsoft.azure.servicebus.management.EntityStatus)"
fullName: "com.microsoft.azure.servicebus.management.QueueDescription.setEntityStatus(EntityStatus status)"
name: "setEntityStatus(EntityStatus status)"
nameWithType: "QueueDescription.setEntityStatus(EntityStatus status)"
parameters:
- description: "- the status of the queue (Enabled / Disabled).\n When an entity is disabled, that entity cannot send or receive messages."
name: "status"
type: "<xref href=\"com.microsoft.azure.servicebus.management.EntityStatus?alt=com.microsoft.azure.servicebus.management.EntityStatus&text=EntityStatus\" data-throw-if-not-resolved=\"False\" />"
syntax: "public void setEntityStatus(EntityStatus status)"
- uid: "com.microsoft.azure.servicebus.management.QueueDescription.setForwardDeadLetteredMessagesTo(java.lang.String)"
fullName: "com.microsoft.azure.servicebus.management.QueueDescription.setForwardDeadLetteredMessagesTo(String forwardDeadLetteredMessagesTo)"
name: "setForwardDeadLetteredMessagesTo(String forwardDeadLetteredMessagesTo)"
nameWithType: "QueueDescription.setForwardDeadLetteredMessagesTo(String forwardDeadLetteredMessagesTo)"
parameters:
- description: "- The path of the recipient entity to which all the dead-lettered messages of this queue are forwarded to.\n If set, user cannot manually receive dead-lettered messages from this queue. The destination\n entity must already exist."
name: "forwardDeadLetteredMessagesTo"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public void setForwardDeadLetteredMessagesTo(String forwardDeadLetteredMessagesTo)"
- uid: "com.microsoft.azure.servicebus.management.QueueDescription.setForwardTo(java.lang.String)"
fullName: "com.microsoft.azure.servicebus.management.QueueDescription.setForwardTo(String forwardTo)"
name: "setForwardTo(String forwardTo)"
nameWithType: "QueueDescription.setForwardTo(String forwardTo)"
parameters:
- description: "- The path of the recipient entity to which all the messages sent to the queue are forwarded to.\n If set, user cannot manually receive messages from this queue. The destination entity\n must be an already existing entity."
name: "forwardTo"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public void setForwardTo(String forwardTo)"
- uid: "com.microsoft.azure.servicebus.management.QueueDescription.setLockDuration(java.time.Duration)"
fullName: "com.microsoft.azure.servicebus.management.QueueDescription.setLockDuration(Duration lockDuration)"
name: "setLockDuration(Duration lockDuration)"
nameWithType: "QueueDescription.setLockDuration(Duration lockDuration)"
summary: "Sets The amount of time that the message is locked by a given receiver so that no other receiver receives the same message."
parameters:
- description: "- The duration of a peek lock. Max value is 5 minutes."
name: "lockDuration"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
syntax: "public void setLockDuration(Duration lockDuration)"
desc: "Sets The amount of time that the message is locked by a given receiver so that no other receiver receives the same message."
- uid: "com.microsoft.azure.servicebus.management.QueueDescription.setMaxDeliveryCount(int)"
fullName: "com.microsoft.azure.servicebus.management.QueueDescription.setMaxDeliveryCount(int maxDeliveryCount)"
name: "setMaxDeliveryCount(int maxDeliveryCount)"
nameWithType: "QueueDescription.setMaxDeliveryCount(int maxDeliveryCount)"
summary: "The maximum delivery count of a message before it is dead-lettered."
parameters:
- description: "- Minimum value is 1."
name: "maxDeliveryCount"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
syntax: "public void setMaxDeliveryCount(int maxDeliveryCount)"
desc: "The maximum delivery count of a message before it is dead-lettered. The delivery count is increased when a message is received in <xref uid=\"com.microsoft.azure.servicebus.ReceiveMode.PEEKLOCK\" data-throw-if-not-resolved=\"false\" data-raw-source=\"com.microsoft.azure.servicebus.ReceiveMode#PEEKLOCK\"></xref> mode and didn't complete the message before the message lock expired."
- uid: "com.microsoft.azure.servicebus.management.QueueDescription.setMaxSizeInMB(long)"
fullName: "com.microsoft.azure.servicebus.management.QueueDescription.setMaxSizeInMB(long maxSize)"
name: "setMaxSizeInMB(long maxSize)"
nameWithType: "QueueDescription.setMaxSizeInMB(long maxSize)"
parameters:
- description: "- Maximum size of the queue in megabytes, which is the size of memory allocated for the queue."
name: "maxSize"
type: "<xref href=\"long?alt=long&text=long\" data-throw-if-not-resolved=\"False\" />"
syntax: "public void setMaxSizeInMB(long maxSize)"
- uid: "com.microsoft.azure.servicebus.management.QueueDescription.setRequiresDuplicateDetection(boolean)"
fullName: "com.microsoft.azure.servicebus.management.QueueDescription.setRequiresDuplicateDetection(boolean requiresDuplicateDetection)"
name: "setRequiresDuplicateDetection(boolean requiresDuplicateDetection)"
nameWithType: "QueueDescription.setRequiresDuplicateDetection(boolean requiresDuplicateDetection)"
parameters:
- description: "- True if duplicate detection needs to be enabled.\n See also - <xref uid=\"com.microsoft.azure.servicebus.management.QueueDescription.isRequiresDuplicateDetection()\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#isRequiresDuplicateDetection()\"></xref>"
name: "requiresDuplicateDetection"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
syntax: "public void setRequiresDuplicateDetection(boolean requiresDuplicateDetection)"
- uid: "com.microsoft.azure.servicebus.management.QueueDescription.setRequiresSession(boolean)"
fullName: "com.microsoft.azure.servicebus.management.QueueDescription.setRequiresSession(boolean requiresSession)"
name: "setRequiresSession(boolean requiresSession)"
nameWithType: "QueueDescription.setRequiresSession(boolean requiresSession)"
parameters:
- description: "- True if queue should support sessions."
name: "requiresSession"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
syntax: "public void setRequiresSession(boolean requiresSession)"
- uid: "com.microsoft.azure.servicebus.management.QueueDescription.setUserMetadata(java.lang.String)"
fullName: "com.microsoft.azure.servicebus.management.QueueDescription.setUserMetadata(String userMetadata)"
name: "setUserMetadata(String userMetadata)"
nameWithType: "QueueDescription.setUserMetadata(String userMetadata)"
parameters:
- description: "- Custom metdata that user can associate with the description.\n Cannot be null. Max length is 1024 chars"
name: "userMetadata"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public void setUserMetadata(String userMetadata)"
type: "class"
desc: "Represents the metadata description of the queue."
metadata: {}
package: "com.microsoft.azure.servicebus.management"
artifact: com.microsoft.azure:azure-servicebus:3.6.7