azure-docs-sdk-java/docs-ref-autogen/com.azure.core.amqp.models....

90 строки
7.3 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.core.amqp.models.RejectedDeliveryOutcome"
fullName: "com.azure.core.amqp.models.RejectedDeliveryOutcome"
name: "RejectedDeliveryOutcome"
nameWithType: "RejectedDeliveryOutcome"
summary: "The rejected delivery outcome."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.amqp.models.DeliveryOutcome?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"com.azure.core.amqp.models.DeliveryOutcome?alt=com.azure.core.amqp.models.DeliveryOutcome&text=DeliveryOutcome\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"com.azure.core.amqp.models.DeliveryOutcome.getDeliveryState()?alt=com.azure.core.amqp.models.DeliveryOutcome.getDeliveryState&text=getDeliveryState\" data-throw-if-not-resolved=\"False\" />"
- 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 final class **RejectedDeliveryOutcome**</br> extends <xref href=\"com.azure.core.amqp.models.DeliveryOutcome?alt=com.azure.core.amqp.models.DeliveryOutcome&text=DeliveryOutcome\" data-throw-if-not-resolved=\"False\" />"
constructors:
- uid: "com.azure.core.amqp.models.RejectedDeliveryOutcome.RejectedDeliveryOutcome(com.azure.core.amqp.exception.AmqpErrorCondition)"
fullName: "com.azure.core.amqp.models.RejectedDeliveryOutcome.RejectedDeliveryOutcome(AmqpErrorCondition errorCondition)"
name: "RejectedDeliveryOutcome(AmqpErrorCondition errorCondition)"
nameWithType: "RejectedDeliveryOutcome.RejectedDeliveryOutcome(AmqpErrorCondition errorCondition)"
summary: "Creates an instance with the given error condition."
parameters:
- description: "The error condition."
name: "errorCondition"
type: "<xref href=\"com.azure.core.amqp.exception.AmqpErrorCondition?alt=com.azure.core.amqp.exception.AmqpErrorCondition&text=AmqpErrorCondition\" data-throw-if-not-resolved=\"False\" />"
syntax: "public RejectedDeliveryOutcome(AmqpErrorCondition errorCondition)"
desc: "Creates an instance with the given error condition."
methods:
- uid: "com.azure.core.amqp.models.RejectedDeliveryOutcome.getErrorCondition()"
fullName: "com.azure.core.amqp.models.RejectedDeliveryOutcome.getErrorCondition()"
name: "getErrorCondition()"
nameWithType: "RejectedDeliveryOutcome.getErrorCondition()"
summary: "Diagnostic information about the cause of the message rejection."
syntax: "public AmqpErrorCondition getErrorCondition()"
desc: "Diagnostic information about the cause of the message rejection."
returns:
description: "Diagnostic information about the cause of the message rejection."
type: "<xref href=\"com.azure.core.amqp.exception.AmqpErrorCondition?alt=com.azure.core.amqp.exception.AmqpErrorCondition&text=AmqpErrorCondition\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.core.amqp.models.RejectedDeliveryOutcome.getErrorDescription()"
fullName: "com.azure.core.amqp.models.RejectedDeliveryOutcome.getErrorDescription()"
name: "getErrorDescription()"
nameWithType: "RejectedDeliveryOutcome.getErrorDescription()"
summary: "Gets the error description."
syntax: "public String getErrorDescription()"
desc: "Gets the error description."
returns:
description: "Gets the error condition."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.core.amqp.models.RejectedDeliveryOutcome.getErrorInfo()"
fullName: "com.azure.core.amqp.models.RejectedDeliveryOutcome.getErrorInfo()"
name: "getErrorInfo()"
nameWithType: "RejectedDeliveryOutcome.getErrorInfo()"
summary: "Gets a map of additional error information."
syntax: "public Map<String,Object> getErrorInfo()"
desc: "Gets a map of additional error information."
returns:
description: "Map of additional error information."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>&gt;"
- uid: "com.azure.core.amqp.models.RejectedDeliveryOutcome.setErrorInfo(java.util.Map<java.lang.String,java.lang.Object>)"
fullName: "com.azure.core.amqp.models.RejectedDeliveryOutcome.setErrorInfo(Map<String,Object> errorInfo)"
name: "setErrorInfo(Map<String,Object> errorInfo)"
nameWithType: "RejectedDeliveryOutcome.setErrorInfo(Map<String,Object> errorInfo)"
summary: "Sets a map with additional error information."
parameters:
- description: "Error information associated with the rejection."
name: "errorInfo"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>&gt;"
syntax: "public RejectedDeliveryOutcome setErrorInfo(Map<String,Object> errorInfo)"
desc: "Sets a map with additional error information."
returns:
description: "The updated <xref uid=\"com.azure.core.amqp.models.RejectedDeliveryOutcome\" data-throw-if-not-resolved=\"false\" data-raw-source=\"RejectedDeliveryOutcome\"></xref> object."
type: "<xref href=\"com.azure.core.amqp.models.RejectedDeliveryOutcome?alt=com.azure.core.amqp.models.RejectedDeliveryOutcome&text=RejectedDeliveryOutcome\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The rejected delivery outcome.\n\nAt the target, the rejected outcome is used to indicate that an incoming message is invalid and therefore unprocessable. The rejected outcome when applied to a message will cause the delivery-count to be incremented in the header of the rejected message.\n\nAt the source, the rejected outcome means that the target has informed the source that the message was rejected, and the source has taken the necessary action. The delivery SHOULD NOT ever spontaneously attain the rejected state at the source."
metadata: {}
package: "com.azure.core.amqp.models"
artifact: com.azure:azure-core-amqp:2.9.9