### YamlMime:JavaType
uid: "com.azure.core.amqp.models.AmqpMessageHeader"
fullName: "com.azure.core.amqp.models.AmqpMessageHeader"
name: "AmqpMessageHeader"
nameWithType: "AmqpMessageHeader"
summary: "The representation of message header as defined by AMQP protocol."
inheritances:
- ""
inheritedClassMethods:
- classRef: "java.lang.Object"
methodsRef:
- "clone"
- "equals"
- "finalize"
- "getClass"
- "hashCode"
- "notify"
- "notifyAll"
- "toString"
- "wait"
- "wait"
- "wait"
syntax: "public class **AmqpMessageHeader**"
methods:
- uid: "com.azure.core.amqp.models.AmqpMessageHeader.getDeliveryCount()"
fullName: "com.azure.core.amqp.models.AmqpMessageHeader.getDeliveryCount()"
name: "getDeliveryCount()"
nameWithType: "AmqpMessageHeader.getDeliveryCount()"
summary: "Gets the delivery count from amqp message header."
syntax: "public Long getDeliveryCount()"
desc: "Gets the delivery count from amqp message header."
returns:
description: "the delivery count value."
type: "Long"
- uid: "com.azure.core.amqp.models.AmqpMessageHeader.getPriority()"
fullName: "com.azure.core.amqp.models.AmqpMessageHeader.getPriority()"
name: "getPriority()"
nameWithType: "AmqpMessageHeader.getPriority()"
summary: "Gets the priority on `amqpMessage` from amqp message header."
syntax: "public Short getPriority()"
desc: "Gets the priority on `amqpMessage` from amqp message header."
returns:
description: "the priority
value."
type: "Short"
- uid: "com.azure.core.amqp.models.AmqpMessageHeader.getTimeToLive()"
fullName: "com.azure.core.amqp.models.AmqpMessageHeader.getTimeToLive()"
name: "getTimeToLive()"
nameWithType: "AmqpMessageHeader.getTimeToLive()"
summary: "Gets `timeToLive` from amqp message header."
syntax: "public Duration getTimeToLive()"
desc: "Gets `timeToLive` from amqp message header."
returns:
description: "the timeToLive
value."
type: "Duration"
- uid: "com.azure.core.amqp.models.AmqpMessageHeader.isDurable()"
fullName: "com.azure.core.amqp.models.AmqpMessageHeader.isDurable()"
name: "isDurable()"
nameWithType: "AmqpMessageHeader.isDurable()"
summary: "Gets durable boolean flag from amqp message header."
syntax: "public Boolean isDurable()"
desc: "Gets durable boolean flag from amqp message header."
returns:
description: "the durable flag."
type: "Boolean"
- uid: "com.azure.core.amqp.models.AmqpMessageHeader.isFirstAcquirer()"
fullName: "com.azure.core.amqp.models.AmqpMessageHeader.isFirstAcquirer()"
name: "isFirstAcquirer()"
nameWithType: "AmqpMessageHeader.isFirstAcquirer()"
summary: "Gets boolean flag for `firstAcquirer` from amqp message header."
syntax: "public Boolean isFirstAcquirer()"
desc: "Gets boolean flag for `firstAcquirer` from amqp message header."
returns:
description: "the firstAcquirer
value."
type: "Boolean"
- uid: "com.azure.core.amqp.models.AmqpMessageHeader.setDeliveryCount(java.lang.Long)"
fullName: "com.azure.core.amqp.models.AmqpMessageHeader.setDeliveryCount(Long deliveryCount)"
name: "setDeliveryCount(Long deliveryCount)"
nameWithType: "AmqpMessageHeader.setDeliveryCount(Long deliveryCount)"
summary: "Sets the given `deliveryCount` value on object."
parameters:
- description: "to be set."
name: "deliveryCount"
type: "Long"
syntax: "public AmqpMessageHeader setDeliveryCount(Long deliveryCount)"
desc: "Sets the given `deliveryCount` value on object."
returns:
description: "updated object."
type: ""
- uid: "com.azure.core.amqp.models.AmqpMessageHeader.setDurable(java.lang.Boolean)"
fullName: "com.azure.core.amqp.models.AmqpMessageHeader.setDurable(Boolean durable)"
name: "setDurable(Boolean durable)"
nameWithType: "AmqpMessageHeader.setDurable(Boolean durable)"
summary: "Sets the given `durable` value on object."
parameters:
- description: "to set on ."
name: "durable"
type: "Boolean"
syntax: "public AmqpMessageHeader setDurable(Boolean durable)"
desc: "Sets the given `durable` value on object."
returns:
description: "updated object."
type: ""
- uid: "com.azure.core.amqp.models.AmqpMessageHeader.setFirstAcquirer(java.lang.Boolean)"
fullName: "com.azure.core.amqp.models.AmqpMessageHeader.setFirstAcquirer(Boolean firstAcquirer)"
name: "setFirstAcquirer(Boolean firstAcquirer)"
nameWithType: "AmqpMessageHeader.setFirstAcquirer(Boolean firstAcquirer)"
summary: "Sets the given `firstAcquirer` value on object."
parameters:
- description: "to set on ."
name: "firstAcquirer"
type: "Boolean"
syntax: "public AmqpMessageHeader setFirstAcquirer(Boolean firstAcquirer)"
desc: "Sets the given `firstAcquirer` value on object."
returns:
description: "updated object."
type: ""
- uid: "com.azure.core.amqp.models.AmqpMessageHeader.setPriority(java.lang.Short)"
fullName: "com.azure.core.amqp.models.AmqpMessageHeader.setPriority(Short priority)"
name: "setPriority(Short priority)"
nameWithType: "AmqpMessageHeader.setPriority(Short priority)"
summary: "Sets the given `priority` value on object."
parameters:
- description: "to set on ."
name: "priority"
type: "Short"
syntax: "public AmqpMessageHeader setPriority(Short priority)"
desc: "Sets the given `priority` value on object."
returns:
description: "updated object."
type: ""
- uid: "com.azure.core.amqp.models.AmqpMessageHeader.setTimeToLive(java.time.Duration)"
fullName: "com.azure.core.amqp.models.AmqpMessageHeader.setTimeToLive(Duration timeToLive)"
name: "setTimeToLive(Duration timeToLive)"
nameWithType: "AmqpMessageHeader.setTimeToLive(Duration timeToLive)"
summary: "Sets the given `timeToLive` value on object."
parameters:
- description: "to set on ."
name: "timeToLive"
type: "Duration"
syntax: "public AmqpMessageHeader setTimeToLive(Duration timeToLive)"
desc: "Sets the given `timeToLive` value on object."
returns:
description: "updated object."
type: ""
type: "class"
desc: "The representation of message header as defined by AMQP protocol."
metadata: {}
package: "com.azure.core.amqp.models"
artifact: com.azure:azure-core-amqp:2.9.11