public static final class StringMatchesCondition.Builder extends Object
StringMatchesCondition
.Buildable.Utils
Modifier and Type | Method and Description |
---|---|
StringMatchesCondition |
build() |
StringMatchesCondition.Builder |
expectedValue(String expectedValue)
Sets the expected value for this condition.
|
StringMatchesCondition.Builder |
variable(String variable)
Sets the JSONPath expression that determines which piece of the input document is used for the comparison.
|
public StringMatchesCondition.Builder variable(String variable)
variable
- Reference path.public StringMatchesCondition.Builder expectedValue(String expectedValue)
expectedValue
- Expected value.public StringMatchesCondition build()
StringMatchesCondition
object.