Class CorrelationFilter
- java.lang.Object
-
- com.azure.resourcemanager.servicebus.models.CorrelationFilter
-
public final class CorrelationFilter extends Object
Represents the correlation filter expression.
-
-
Constructor Summary
Constructors Constructor Description CorrelationFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringcontentType()Get the contentType property: Content type of the message.StringcorrelationId()Get the correlationId property: Identifier of the correlation.Stringlabel()Get the label property: Application specific label.StringmessageId()Get the messageId property: Identifier of the message.Map<String,String>properties()Get the properties property: dictionary object for custom filters.StringreplyTo()Get the replyTo property: Address of the queue to reply to.StringreplyToSessionId()Get the replyToSessionId property: Session identifier to reply to.BooleanrequiresPreprocessing()Get the requiresPreprocessing property: Value that indicates whether the rule action requires preprocessing.StringsessionId()Get the sessionId property: Session identifier.Stringto()Get the to property: Address to send to.voidvalidate()Validates the instance.CorrelationFilterwithContentType(String contentType)Set the contentType property: Content type of the message.CorrelationFilterwithCorrelationId(String correlationId)Set the correlationId property: Identifier of the correlation.CorrelationFilterwithLabel(String label)Set the label property: Application specific label.CorrelationFilterwithMessageId(String messageId)Set the messageId property: Identifier of the message.CorrelationFilterwithProperties(Map<String,String> properties)Set the properties property: dictionary object for custom filters.CorrelationFilterwithReplyTo(String replyTo)Set the replyTo property: Address of the queue to reply to.CorrelationFilterwithReplyToSessionId(String replyToSessionId)Set the replyToSessionId property: Session identifier to reply to.CorrelationFilterwithRequiresPreprocessing(Boolean requiresPreprocessing)Set the requiresPreprocessing property: Value that indicates whether the rule action requires preprocessing.CorrelationFilterwithSessionId(String sessionId)Set the sessionId property: Session identifier.CorrelationFilterwithTo(String to)Set the to property: Address to send to.
-
-
-
Method Detail
-
properties
public Map<String,String> properties()
Get the properties property: dictionary object for custom filters.- Returns:
- the properties value.
-
withProperties
public CorrelationFilter withProperties(Map<String,String> properties)
Set the properties property: dictionary object for custom filters.- Parameters:
properties- the properties value to set.- Returns:
- the CorrelationFilter object itself.
-
correlationId
public String correlationId()
Get the correlationId property: Identifier of the correlation.- Returns:
- the correlationId value.
-
withCorrelationId
public CorrelationFilter withCorrelationId(String correlationId)
Set the correlationId property: Identifier of the correlation.- Parameters:
correlationId- the correlationId value to set.- Returns:
- the CorrelationFilter object itself.
-
messageId
public String messageId()
Get the messageId property: Identifier of the message.- Returns:
- the messageId value.
-
withMessageId
public CorrelationFilter withMessageId(String messageId)
Set the messageId property: Identifier of the message.- Parameters:
messageId- the messageId value to set.- Returns:
- the CorrelationFilter object itself.
-
to
public String to()
Get the to property: Address to send to.- Returns:
- the to value.
-
withTo
public CorrelationFilter withTo(String to)
Set the to property: Address to send to.- Parameters:
to- the to value to set.- Returns:
- the CorrelationFilter object itself.
-
replyTo
public String replyTo()
Get the replyTo property: Address of the queue to reply to.- Returns:
- the replyTo value.
-
withReplyTo
public CorrelationFilter withReplyTo(String replyTo)
Set the replyTo property: Address of the queue to reply to.- Parameters:
replyTo- the replyTo value to set.- Returns:
- the CorrelationFilter object itself.
-
label
public String label()
Get the label property: Application specific label.- Returns:
- the label value.
-
withLabel
public CorrelationFilter withLabel(String label)
Set the label property: Application specific label.- Parameters:
label- the label value to set.- Returns:
- the CorrelationFilter object itself.
-
sessionId
public String sessionId()
Get the sessionId property: Session identifier.- Returns:
- the sessionId value.
-
withSessionId
public CorrelationFilter withSessionId(String sessionId)
Set the sessionId property: Session identifier.- Parameters:
sessionId- the sessionId value to set.- Returns:
- the CorrelationFilter object itself.
-
replyToSessionId
public String replyToSessionId()
Get the replyToSessionId property: Session identifier to reply to.- Returns:
- the replyToSessionId value.
-
withReplyToSessionId
public CorrelationFilter withReplyToSessionId(String replyToSessionId)
Set the replyToSessionId property: Session identifier to reply to.- Parameters:
replyToSessionId- the replyToSessionId value to set.- Returns:
- the CorrelationFilter object itself.
-
contentType
public String contentType()
Get the contentType property: Content type of the message.- Returns:
- the contentType value.
-
withContentType
public CorrelationFilter withContentType(String contentType)
Set the contentType property: Content type of the message.- Parameters:
contentType- the contentType value to set.- Returns:
- the CorrelationFilter object itself.
-
requiresPreprocessing
public Boolean requiresPreprocessing()
Get the requiresPreprocessing property: Value that indicates whether the rule action requires preprocessing.- Returns:
- the requiresPreprocessing value.
-
withRequiresPreprocessing
public CorrelationFilter withRequiresPreprocessing(Boolean requiresPreprocessing)
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.
-
-