Package com.azure.core.amqp.models
Class AmqpMessageProperties
java.lang.Object
com.azure.core.amqp.models.AmqpMessageProperties
The representation of message properties as defined by AMQP protocol.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGetsabsoluteExpiryTime
from amqp message properties.Gets AbsoluteExpiryTime from amqp message properties.GetscontentType
from amqp message properties.GetscorrelationId
from amqp message properties.GetscreationTime
from amqp message properties.GetsgroupId
from amqp message properties.GetsgroupSequence
from amqp message properties.GetsmessageId
from amqp message properties.GetsreplyTo
from amqp message properties.GetsreplyToGroupId
from amqp message properties.Getssubject
from amqp message properties.getTo()
Getsto
from amqp message properties.byte[]
GetsuserId
from amqp message properties.setAbsoluteExpiryTime
(OffsetDateTime absoluteExpiryTime) Sets the givenabsoluteExpiryTime
value onAmqpMessageProperties
object.setContentEncoding
(String contentEncoding) Sets the givencontentEncoding
value onAmqpMessageProperties
object.setContentType
(String contentType) Sets the givencontentType
value onAmqpMessageProperties
object.setCorrelationId
(AmqpMessageId correlationId) Sets the givencorrelationId
value onAmqpMessageProperties
object.setCreationTime
(OffsetDateTime creationTime) Sets the givencreationTime
value onAmqpMessageProperties
object.setGroupId
(String groupId) Sets the givengroupId
value onAmqpMessageProperties
object.setGroupSequence
(Long groupSequence) Sets the givengroupSequence
value onAmqpMessageProperties
object.setMessageId
(AmqpMessageId messageId) Sets the givenmessageId
value onAmqpMessageProperties
object.setReplyTo
(AmqpAddress replyTo) Sets the givenreplyTo
value onAmqpMessageProperties
object.setReplyToGroupId
(String replyToGroupId) Sets the givenreplyToGroupId
value onAmqpMessageProperties
object.setSubject
(String subject) Sets the givensubject
value onAmqpMessageProperties
object.setTo
(AmqpAddress to) Sets the givento
value onAmqpMessageProperties
object.setUserId
(byte[] userId) Sets the givenuserId
value onAmqpMessageProperties
object.
-
Method Details
-
getAbsoluteExpiryTime
GetsabsoluteExpiryTime
from amqp message properties.- Returns:
- the
absoluteExpiryTime
value.
-
setAbsoluteExpiryTime
Sets the givenabsoluteExpiryTime
value onAmqpMessageProperties
object.- Parameters:
absoluteExpiryTime
- to be set.- Returns:
- updated
AmqpMessageProperties
object.
-
getContentEncoding
Gets AbsoluteExpiryTime from amqp message properties.- Returns:
- the
absoluteExpiryTime
value.
-
setContentEncoding
Sets the givencontentEncoding
value onAmqpMessageProperties
object.- Parameters:
contentEncoding
- to be set.- Returns:
- updated
AmqpMessageProperties
object.
-
getContentType
GetscontentType
from amqp message properties.- Returns:
- the
contentType
value.
-
setContentType
Sets the givencontentType
value onAmqpMessageProperties
object.- Parameters:
contentType
- to be set.- Returns:
- updated
AmqpMessageProperties
object.
-
getCorrelationId
GetscorrelationId
from amqp message properties.- Returns:
- the
correlationId
value.
-
setCorrelationId
Sets the givencorrelationId
value onAmqpMessageProperties
object.- Parameters:
correlationId
- to be set.- Returns:
- updated
AmqpMessageProperties
object.
-
getCreationTime
GetscreationTime
from amqp message properties.- Returns:
- the
creationTime
value.
-
setCreationTime
Sets the givencreationTime
value onAmqpMessageProperties
object.- Parameters:
creationTime
- to be set.- Returns:
- updated
AmqpMessageProperties
object.
-
getGroupId
GetsgroupId
from amqp message properties.- Returns:
- the
groupId
value.
-
setGroupId
Sets the givengroupId
value onAmqpMessageProperties
object.- Parameters:
groupId
- to be set.- Returns:
- updated
AmqpMessageProperties
object.
-
getGroupSequence
GetsgroupSequence
from amqp message properties.- Returns:
- the
groupSequence
value.
-
setGroupSequence
Sets the givengroupSequence
value onAmqpMessageProperties
object.- Parameters:
groupSequence
- to be set.- Returns:
- updated
AmqpMessageProperties
object.
-
getMessageId
GetsmessageId
from amqp message properties.- Returns:
- the
messageId
value.
-
setMessageId
Sets the givenmessageId
value onAmqpMessageProperties
object.- Parameters:
messageId
- to be set .- Returns:
- updated
AmqpMessageProperties
object.
-
getReplyTo
GetsreplyTo
from amqp message properties.- Returns:
- The
replyTo
value.
-
setReplyTo
Sets the givenreplyTo
value onAmqpMessageProperties
object.- Parameters:
replyTo
- to be set.- Returns:
- updated
AmqpMessageProperties
object.
-
getReplyToGroupId
GetsreplyToGroupId
from amqp message properties.- Returns:
- The
replyToGroupId
value.
-
setReplyToGroupId
Sets the givenreplyToGroupId
value onAmqpMessageProperties
object.- Parameters:
replyToGroupId
- to be set.- Returns:
- updated
AmqpMessageProperties
object.
-
getSubject
Getssubject
from amqp message properties.- Returns:
- the
subject
value.
-
setSubject
Sets the givensubject
value onAmqpMessageProperties
object.- Parameters:
subject
- to be set.- Returns:
- updated
AmqpMessageProperties
object.
-
getTo
Getsto
from amqp message properties.- Returns:
- the
to
value.
-
setTo
Sets the givento
value onAmqpMessageProperties
object.- Parameters:
to
- to be set.- Returns:
- updated
AmqpMessageProperties
object.
-
getUserId
public byte[] getUserId()GetsuserId
from amqp message properties.- Returns:
- the
userId
value.
-
setUserId
Sets the givenuserId
value onAmqpMessageProperties
object.- Parameters:
userId
- to be set .- Returns:
- updated
AmqpMessageProperties
object.
-