@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RuleStringExpression extends Object implements Serializable, Cloneable, StructuredPojo
A string expression is evaluated against strings or substrings of the email.
| Constructor and Description |
|---|
RuleStringExpression() |
| Modifier and Type | Method and Description |
|---|---|
RuleStringExpression |
clone() |
boolean |
equals(Object obj) |
RuleStringToEvaluate |
getEvaluate()
The string to evaluate in a string condition expression.
|
String |
getOperator()
The matching operator for a string condition expression.
|
List<String> |
getValues()
The string(s) to be evaluated in a string condition expression.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setEvaluate(RuleStringToEvaluate evaluate)
The string to evaluate in a string condition expression.
|
void |
setOperator(String operator)
The matching operator for a string condition expression.
|
void |
setValues(Collection<String> values)
The string(s) to be evaluated in a string condition expression.
|
String |
toString()
Returns a string representation of this object.
|
RuleStringExpression |
withEvaluate(RuleStringToEvaluate evaluate)
The string to evaluate in a string condition expression.
|
RuleStringExpression |
withOperator(RuleStringOperator operator)
The matching operator for a string condition expression.
|
RuleStringExpression |
withOperator(String operator)
The matching operator for a string condition expression.
|
RuleStringExpression |
withValues(Collection<String> values)
The string(s) to be evaluated in a string condition expression.
|
RuleStringExpression |
withValues(String... values)
The string(s) to be evaluated in a string condition expression.
|
public void setEvaluate(RuleStringToEvaluate evaluate)
The string to evaluate in a string condition expression.
evaluate - The string to evaluate in a string condition expression.public RuleStringToEvaluate getEvaluate()
The string to evaluate in a string condition expression.
public RuleStringExpression withEvaluate(RuleStringToEvaluate evaluate)
The string to evaluate in a string condition expression.
evaluate - The string to evaluate in a string condition expression.public void setOperator(String operator)
The matching operator for a string condition expression.
operator - The matching operator for a string condition expression.RuleStringOperatorpublic String getOperator()
The matching operator for a string condition expression.
RuleStringOperatorpublic RuleStringExpression withOperator(String operator)
The matching operator for a string condition expression.
operator - The matching operator for a string condition expression.RuleStringOperatorpublic RuleStringExpression withOperator(RuleStringOperator operator)
The matching operator for a string condition expression.
operator - The matching operator for a string condition expression.RuleStringOperatorpublic List<String> getValues()
The string(s) to be evaluated in a string condition expression. For all operators, except for NOT_EQUALS, if multiple values are given, the values are processed as an OR. That is, if any of the values match the email's string using the given operator, the condition is deemed to match. However, for NOT_EQUALS, the condition is only deemed to match if none of the given strings match the email's string.
public void setValues(Collection<String> values)
The string(s) to be evaluated in a string condition expression. For all operators, except for NOT_EQUALS, if multiple values are given, the values are processed as an OR. That is, if any of the values match the email's string using the given operator, the condition is deemed to match. However, for NOT_EQUALS, the condition is only deemed to match if none of the given strings match the email's string.
values - The string(s) to be evaluated in a string condition expression. For all operators, except for NOT_EQUALS,
if multiple values are given, the values are processed as an OR. That is, if any of the values match the
email's string using the given operator, the condition is deemed to match. However, for NOT_EQUALS, the
condition is only deemed to match if none of the given strings match the email's string.public RuleStringExpression withValues(String... values)
The string(s) to be evaluated in a string condition expression. For all operators, except for NOT_EQUALS, if multiple values are given, the values are processed as an OR. That is, if any of the values match the email's string using the given operator, the condition is deemed to match. However, for NOT_EQUALS, the condition is only deemed to match if none of the given strings match the email's string.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection) or withValues(java.util.Collection) if you want to override the
existing values.
values - The string(s) to be evaluated in a string condition expression. For all operators, except for NOT_EQUALS,
if multiple values are given, the values are processed as an OR. That is, if any of the values match the
email's string using the given operator, the condition is deemed to match. However, for NOT_EQUALS, the
condition is only deemed to match if none of the given strings match the email's string.public RuleStringExpression withValues(Collection<String> values)
The string(s) to be evaluated in a string condition expression. For all operators, except for NOT_EQUALS, if multiple values are given, the values are processed as an OR. That is, if any of the values match the email's string using the given operator, the condition is deemed to match. However, for NOT_EQUALS, the condition is only deemed to match if none of the given strings match the email's string.
values - The string(s) to be evaluated in a string condition expression. For all operators, except for NOT_EQUALS,
if multiple values are given, the values are processed as an OR. That is, if any of the values match the
email's string using the given operator, the condition is deemed to match. However, for NOT_EQUALS, the
condition is only deemed to match if none of the given strings match the email's string.public String toString()
toString in class ObjectObject.toString()public RuleStringExpression clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.