public ScanRequest withFilterExpression(String filterExpression) {
        setFilterExpression(filterExpression);
        return this;
    }
<p>
A string that contains conditions that DynamoDB applies after the <code>Scan</code> operation, but before the
data is returned to you. Items that do not satisfy the <code>FilterExpression</code> criteria are not returned.
</p>
<note>
<p>
A <code>FilterExpression</code> is applied after the items have already been read; the process of filtering does
not consume any additional read capacity units.
</p>
</note>
<p>
For more information, see <a
href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Scan.html#Scan.FilterExpression">Filter
Expressions</a> in the <i>Amazon DynamoDB Developer Guide</i>.
</p>

@param filterExpression
       A string that contains conditions that DynamoDB applies after the <code>Scan</code> operation, but before
       the data is returned to you. Items that do not satisfy the <code>FilterExpression</code> criteria are not
       returned.</p> <note>
       <p>
       A <code>FilterExpression</code> is applied after the items have already been read; the process of
       filtering does not consume any additional read capacity units.
       </p>
       </note>
       <p>
       For more information, see <a
       href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Scan.html#Scan.FilterExpression"
       >Filter Expressions</a> in the <i>Amazon DynamoDB Developer Guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-dynamodb/src/main/java/com/amazonaws/services/dynamodbv2/model/ScanRequest.java