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 TypeMethodDescriptionGetsabsoluteExpiryTimefrom amqp message properties.Gets AbsoluteExpiryTime from amqp message properties.GetscontentTypefrom amqp message properties.GetscorrelationIdfrom amqp message properties.GetscreationTimefrom amqp message properties.GetsgroupIdfrom amqp message properties.GetsgroupSequencefrom amqp message properties.GetsmessageIdfrom amqp message properties.GetsreplyTofrom amqp message properties.GetsreplyToGroupIdfrom amqp message properties.Getssubjectfrom amqp message properties.getTo()Getstofrom amqp message properties.byte[]GetsuserIdfrom amqp message properties.setAbsoluteExpiryTime(OffsetDateTime absoluteExpiryTime) Sets the givenabsoluteExpiryTimevalue onAmqpMessagePropertiesobject.setContentEncoding(String contentEncoding) Sets the givencontentEncodingvalue onAmqpMessagePropertiesobject.setContentType(String contentType) Sets the givencontentTypevalue onAmqpMessagePropertiesobject.setCorrelationId(AmqpMessageId correlationId) Sets the givencorrelationIdvalue onAmqpMessagePropertiesobject.setCreationTime(OffsetDateTime creationTime) Sets the givencreationTimevalue onAmqpMessagePropertiesobject.setGroupId(String groupId) Sets the givengroupIdvalue onAmqpMessagePropertiesobject.setGroupSequence(Long groupSequence) Sets the givengroupSequencevalue onAmqpMessagePropertiesobject.setMessageId(AmqpMessageId messageId) Sets the givenmessageIdvalue onAmqpMessagePropertiesobject.setReplyTo(AmqpAddress replyTo) Sets the givenreplyTovalue onAmqpMessagePropertiesobject.setReplyToGroupId(String replyToGroupId) Sets the givenreplyToGroupIdvalue onAmqpMessagePropertiesobject.setSubject(String subject) Sets the givensubjectvalue onAmqpMessagePropertiesobject.setTo(AmqpAddress to) Sets the giventovalue onAmqpMessagePropertiesobject.setUserId(byte[] userId) Sets the givenuserIdvalue onAmqpMessagePropertiesobject.
-
Method Details
-
getAbsoluteExpiryTime
GetsabsoluteExpiryTimefrom amqp message properties.- Returns:
- the
absoluteExpiryTimevalue.
-
setAbsoluteExpiryTime
Sets the givenabsoluteExpiryTimevalue onAmqpMessagePropertiesobject.- Parameters:
absoluteExpiryTime- to be set.- Returns:
- updated
AmqpMessagePropertiesobject.
-
getContentEncoding
Gets AbsoluteExpiryTime from amqp message properties.- Returns:
- the
absoluteExpiryTimevalue.
-
setContentEncoding
Sets the givencontentEncodingvalue onAmqpMessagePropertiesobject.- Parameters:
contentEncoding- to be set.- Returns:
- updated
AmqpMessagePropertiesobject.
-
getContentType
GetscontentTypefrom amqp message properties.- Returns:
- the
contentTypevalue.
-
setContentType
Sets the givencontentTypevalue onAmqpMessagePropertiesobject.- Parameters:
contentType- to be set.- Returns:
- updated
AmqpMessagePropertiesobject.
-
getCorrelationId
GetscorrelationIdfrom amqp message properties.- Returns:
- the
correlationIdvalue.
-
setCorrelationId
Sets the givencorrelationIdvalue onAmqpMessagePropertiesobject.- Parameters:
correlationId- to be set.- Returns:
- updated
AmqpMessagePropertiesobject.
-
getCreationTime
GetscreationTimefrom amqp message properties.- Returns:
- the
creationTimevalue.
-
setCreationTime
Sets the givencreationTimevalue onAmqpMessagePropertiesobject.- Parameters:
creationTime- to be set.- Returns:
- updated
AmqpMessagePropertiesobject.
-
getGroupId
GetsgroupIdfrom amqp message properties.- Returns:
- the
groupIdvalue.
-
setGroupId
Sets the givengroupIdvalue onAmqpMessagePropertiesobject.- Parameters:
groupId- to be set.- Returns:
- updated
AmqpMessagePropertiesobject.
-
getGroupSequence
GetsgroupSequencefrom amqp message properties.- Returns:
- the
groupSequencevalue.
-
setGroupSequence
Sets the givengroupSequencevalue onAmqpMessagePropertiesobject.- Parameters:
groupSequence- to be set.- Returns:
- updated
AmqpMessagePropertiesobject.
-
getMessageId
GetsmessageIdfrom amqp message properties.- Returns:
- the
messageIdvalue.
-
setMessageId
Sets the givenmessageIdvalue onAmqpMessagePropertiesobject.- Parameters:
messageId- to be set .- Returns:
- updated
AmqpMessagePropertiesobject.
-
getReplyTo
GetsreplyTofrom amqp message properties.- Returns:
- The
replyTovalue.
-
setReplyTo
Sets the givenreplyTovalue onAmqpMessagePropertiesobject.- Parameters:
replyTo- to be set.- Returns:
- updated
AmqpMessagePropertiesobject.
-
getReplyToGroupId
GetsreplyToGroupIdfrom amqp message properties.- Returns:
- The
replyToGroupIdvalue.
-
setReplyToGroupId
Sets the givenreplyToGroupIdvalue onAmqpMessagePropertiesobject.- Parameters:
replyToGroupId- to be set.- Returns:
- updated
AmqpMessagePropertiesobject.
-
getSubject
Getssubjectfrom amqp message properties.- Returns:
- the
subjectvalue.
-
setSubject
Sets the givensubjectvalue onAmqpMessagePropertiesobject.- Parameters:
subject- to be set.- Returns:
- updated
AmqpMessagePropertiesobject.
-
getTo
Getstofrom amqp message properties.- Returns:
- the
tovalue.
-
setTo
Sets the giventovalue onAmqpMessagePropertiesobject.- Parameters:
to- to be set.- Returns:
- updated
AmqpMessagePropertiesobject.
-
getUserId
public byte[] getUserId()GetsuserIdfrom amqp message properties.- Returns:
- the
userIdvalue.
-
setUserId
Sets the givenuserIdvalue onAmqpMessagePropertiesobject.- Parameters:
userId- to be set .- Returns:
- updated
AmqpMessagePropertiesobject.
-