### YamlMime:JavaType
uid: "com.azure.core.amqp.models.AmqpMessageBody"
fullName: "com.azure.core.amqp.models.AmqpMessageBody"
name: "AmqpMessageBody"
nameWithType: "AmqpMessageBody"
summary: "This class encapsulates the body of a message."
inheritances:
- ""
inheritedClassMethods:
- classRef: "java.lang.Object"
methodsRef:
- "clone"
- "equals"
- "finalize"
- "getClass"
- "hashCode"
- "notify"
- "notifyAll"
- "toString"
- "wait"
- "wait"
- "wait"
syntax: "public final class **AmqpMessageBody**"
methods:
- uid: "com.azure.core.amqp.models.AmqpMessageBody.fromData(byte[])"
fullName: "com.azure.core.amqp.models.AmqpMessageBody.fromData(byte[] data)"
name: "fromData(byte[] data)"
nameWithType: "AmqpMessageBody.fromData(byte[] data)"
summary: "Creates instance of with given byte array."
modifiers:
- "static"
parameters:
- description: "used to create another instance of ."
name: "data"
type: "[]"
syntax: "public static AmqpMessageBody fromData(byte[] data)"
desc: "Creates instance of with given byte array."
returns:
description: "AmqpMessageBody Newly created instance."
type: ""
- uid: "com.azure.core.amqp.models.AmqpMessageBody.fromSequence(java.util.List)"
fullName: "com.azure.core.amqp.models.AmqpMessageBody.fromSequence(List