Class CorrelationFilter
java.lang.Object
com.azure.resourcemanager.servicebus.models.CorrelationFilter
Represents the correlation filter expression.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the contentType property: Content type of the message.Get the correlationId property: Identifier of the correlation.label()Get the label property: Application specific label.Get the messageId property: Identifier of the message.Get the properties property: dictionary object for custom filters.replyTo()Get the replyTo property: Address of the queue to reply to.Get the replyToSessionId property: Session identifier to reply to.Get the requiresPreprocessing property: Value that indicates whether the rule action requires preprocessing.Get the sessionId property: Session identifier.to()Get the to property: Address to send to.voidvalidate()Validates the instance.withContentType(String contentType) Set the contentType property: Content type of the message.withCorrelationId(String correlationId) Set the correlationId property: Identifier of the correlation.Set the label property: Application specific label.withMessageId(String messageId) Set the messageId property: Identifier of the message.withProperties(Map<String, String> properties) Set the properties property: dictionary object for custom filters.withReplyTo(String replyTo) Set the replyTo property: Address of the queue to reply to.withReplyToSessionId(String replyToSessionId) Set the replyToSessionId property: Session identifier to reply to.withRequiresPreprocessing(Boolean requiresPreprocessing) Set the requiresPreprocessing property: Value that indicates whether the rule action requires preprocessing.withSessionId(String sessionId) Set the sessionId property: Session identifier.Set the to property: Address to send to.
-
Constructor Details
-
CorrelationFilter
public CorrelationFilter()
-
-
Method Details
-
properties
Get the properties property: dictionary object for custom filters.- Returns:
- the properties value.
-
withProperties
Set the properties property: dictionary object for custom filters.- Parameters:
properties- the properties value to set.- Returns:
- the CorrelationFilter object itself.
-
correlationId
Get the correlationId property: Identifier of the correlation.- Returns:
- the correlationId value.
-
withCorrelationId
Set the correlationId property: Identifier of the correlation.- Parameters:
correlationId- the correlationId value to set.- Returns:
- the CorrelationFilter object itself.
-
messageId
Get the messageId property: Identifier of the message.- Returns:
- the messageId value.
-
withMessageId
Set the messageId property: Identifier of the message.- Parameters:
messageId- the messageId value to set.- Returns:
- the CorrelationFilter object itself.
-
to
Get the to property: Address to send to.- Returns:
- the to value.
-
withTo
Set the to property: Address to send to.- Parameters:
to- the to value to set.- Returns:
- the CorrelationFilter object itself.
-
replyTo
Get the replyTo property: Address of the queue to reply to.- Returns:
- the replyTo value.
-
withReplyTo
Set the replyTo property: Address of the queue to reply to.- Parameters:
replyTo- the replyTo value to set.- Returns:
- the CorrelationFilter object itself.
-
label
Get the label property: Application specific label.- Returns:
- the label value.
-
withLabel
Set the label property: Application specific label.- Parameters:
label- the label value to set.- Returns:
- the CorrelationFilter object itself.
-
sessionId
Get the sessionId property: Session identifier.- Returns:
- the sessionId value.
-
withSessionId
Set the sessionId property: Session identifier.- Parameters:
sessionId- the sessionId value to set.- Returns:
- the CorrelationFilter object itself.
-
replyToSessionId
Get the replyToSessionId property: Session identifier to reply to.- Returns:
- the replyToSessionId value.
-
withReplyToSessionId
Set the replyToSessionId property: Session identifier to reply to.- Parameters:
replyToSessionId- the replyToSessionId value to set.- Returns:
- the CorrelationFilter object itself.
-
contentType
Get the contentType property: Content type of the message.- Returns:
- the contentType value.
-
withContentType
Set the contentType property: Content type of the message.- Parameters:
contentType- the contentType value to set.- Returns:
- the CorrelationFilter object itself.
-
requiresPreprocessing
Get the requiresPreprocessing property: Value that indicates whether the rule action requires preprocessing.- Returns:
- the requiresPreprocessing value.
-
withRequiresPreprocessing
Set the requiresPreprocessing property: Value that indicates whether the rule action requires preprocessing.- Parameters:
requiresPreprocessing- the requiresPreprocessing value to set.- Returns:
- the CorrelationFilter object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-