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

69 строки
4.4 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.core.amqp.models.AmqpMessageId"
fullName: "com.azure.core.amqp.models.AmqpMessageId"
name: "AmqpMessageId"
nameWithType: "AmqpMessageId"
summary: "This represents Message id."
inheritances:
- "<xref href=\"java.lang.Object?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 final class **AmqpMessageId**"
constructors:
- uid: "com.azure.core.amqp.models.AmqpMessageId.AmqpMessageId(java.lang.String)"
fullName: "com.azure.core.amqp.models.AmqpMessageId.AmqpMessageId(String messageId)"
name: "AmqpMessageId(String messageId)"
nameWithType: "AmqpMessageId.AmqpMessageId(String messageId)"
summary: "Creates the <xref uid=\"com.azure.core.amqp.models.AmqpMessageId\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AmqpMessageId\"></xref> with given `messageId`."
parameters:
- description: "representing id of the message."
name: "messageId"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public AmqpMessageId(String messageId)"
desc: "Creates the <xref uid=\"com.azure.core.amqp.models.AmqpMessageId\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AmqpMessageId\"></xref> with given `messageId`."
methods:
- uid: "com.azure.core.amqp.models.AmqpMessageId.equals(java.lang.Object)"
fullName: "com.azure.core.amqp.models.AmqpMessageId.equals(Object other)"
name: "equals(Object other)"
nameWithType: "AmqpMessageId.equals(Object other)"
overridden: "java.lang.Object.equals(java.lang.Object)"
parameters:
- name: "other"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
syntax: "public boolean equals(Object other)"
returns:
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.core.amqp.models.AmqpMessageId.hashCode()"
fullName: "com.azure.core.amqp.models.AmqpMessageId.hashCode()"
name: "hashCode()"
nameWithType: "AmqpMessageId.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.azure.core.amqp.models.AmqpMessageId.toString()"
fullName: "com.azure.core.amqp.models.AmqpMessageId.toString()"
name: "toString()"
nameWithType: "AmqpMessageId.toString()"
overridden: "java.lang.Object.toString()"
syntax: "public String toString()"
returns:
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
type: "class"
desc: "This represents Message id. Amqp specification support message id in various types. This class only implements <xref uid=\"java.lang.String\" data-throw-if-not-resolved=\"false\" data-raw-source=\"String\"></xref> representation at present.\n\n**Create and retrieve message id** \n\n```java\nAmqpMessageId messageId = new AmqpMessageId(\"my-message-id\");\n // Retrieve Message id\n String id = messageId.toString();\n System.out.println(\"Message Id \" + id);\n```"
metadata: {}
package: "com.azure.core.amqp.models"
artifact: com.azure:azure-core-amqp:2.9.11