AmqpMessageProperties Class
- java.
lang. Object - com.
azure. core. amqp. models. AmqpMessageProperties
- com.
public class AmqpMessageProperties
The representation of message properties as defined by AMQP protocol.
Method Summary
Methods inherited from java.lang.Object
Method Details
getAbsoluteExpiryTime
public OffsetDateTime getAbsoluteExpiryTime()
Gets absoluteExpiryTime
from amqp message properties.
Returns:
absoluteExpiryTime
value.getContentEncoding
public String getContentEncoding()
Gets AbsoluteExpiryTime from amqp message properties.
Returns:
absoluteExpiryTime
value.getContentType
public String getContentType()
Gets contentType
from amqp message properties.
Returns:
contentType
value.getCorrelationId
public AmqpMessageId getCorrelationId()
Gets correlationId
from amqp message properties.
Returns:
correlationId
value.getCreationTime
public OffsetDateTime getCreationTime()
Gets creationTime
from amqp message properties.
Returns:
creationTime
value.getGroupId
public String getGroupId()
Gets groupId
from amqp message properties.
Returns:
groupId
value.getGroupSequence
public Long getGroupSequence()
Gets groupSequence
from amqp message properties.
Returns:
groupSequence
value.getMessageId
public AmqpMessageId getMessageId()
Gets messageId
from amqp message properties.
Returns:
messageId
value.getReplyTo
public AmqpAddress getReplyTo()
Gets replyTo
from amqp message properties.
Returns:
replyTo
value.getReplyToGroupId
public String getReplyToGroupId()
Gets replyToGroupId
from amqp message properties.
Returns:
replyToGroupId
value.getSubject
public String getSubject()
Gets subject
from amqp message properties.
Returns:
subject
value.getTo
public AmqpAddress getTo()
Gets to
from amqp message properties.
Returns:
to
value.getUserId
public byte[] getUserId()
Gets userId
from amqp message properties.
Returns:
userId
value.setAbsoluteExpiryTime
public AmqpMessageProperties setAbsoluteExpiryTime(OffsetDateTime absoluteExpiryTime)
Sets the given absoluteExpiryTime
value on AmqpMessageProperties object.
Parameters:
Returns:
setContentEncoding
public AmqpMessageProperties setContentEncoding(String contentEncoding)
Sets the given contentEncoding
value on AmqpMessageProperties object.
Parameters:
Returns:
setContentType
public AmqpMessageProperties setContentType(String contentType)
Sets the given contentType
value on AmqpMessageProperties object.
Parameters:
Returns:
setCorrelationId
public AmqpMessageProperties setCorrelationId(AmqpMessageId correlationId)
Sets the given correlationId
value on AmqpMessageProperties object.
Parameters:
Returns:
setCreationTime
public AmqpMessageProperties setCreationTime(OffsetDateTime creationTime)
Sets the given creationTime
value on AmqpMessageProperties object.
Parameters:
Returns:
setGroupId
public AmqpMessageProperties setGroupId(String groupId)
Sets the given groupId
value on AmqpMessageProperties object.
Parameters:
Returns:
setGroupSequence
public AmqpMessageProperties setGroupSequence(Long groupSequence)
Sets the given groupSequence
value on AmqpMessageProperties object.
Parameters:
Returns:
setMessageId
public AmqpMessageProperties setMessageId(AmqpMessageId messageId)
Sets the given messageId
value on AmqpMessageProperties object.
Parameters:
Returns:
setReplyTo
public AmqpMessageProperties setReplyTo(AmqpAddress replyTo)
Sets the given replyTo
value on AmqpMessageProperties object.
Parameters:
Returns:
setReplyToGroupId
public AmqpMessageProperties setReplyToGroupId(String replyToGroupId)
Sets the given replyToGroupId
value on AmqpMessageProperties object.
Parameters:
Returns:
setSubject
public AmqpMessageProperties setSubject(String subject)
Sets the given subject
value on AmqpMessageProperties object.
Parameters:
Returns:
setTo
public AmqpMessageProperties setTo(AmqpAddress to)
Sets the given to
value on AmqpMessageProperties object.
Parameters:
Returns:
setUserId
public AmqpMessageProperties setUserId(byte[] userId)
Sets the given userId
value on AmqpMessageProperties object.
Parameters:
Returns:
Applies to
Azure SDK for Java