public PutItemRequest withConditionExpression(String conditionExpression) {
        setConditionExpression(conditionExpression);
        return this;
    }
<p>
A condition that must be satisfied in order for a conditional <code>PutItem</code> operation to succeed.
</p>
<p>
An expression can contain any of the following:
</p>
<ul>
<li>
<p>
Functions: <code>attribute_exists | attribute_not_exists | attribute_type | contains | begins_with | size</code>
</p>
<p>
These function names are case-sensitive.
</p>
</li>
<li>
<p>
Comparison operators: <code>= | &lt;&gt; | &lt; | &gt; | &lt;= | &gt;= | BETWEEN | IN </code>
</p>
</li>
<li>
<p>
Logical operators: <code>AND | OR | NOT</code>
</p>
</li>
</ul>
<p>
For more information on condition expressions, see <a
href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html"
>Condition Expressions</a> in the <i>Amazon DynamoDB Developer Guide</i>.
</p>

@param conditionExpression
       A condition that must be satisfied in order for a conditional <code>PutItem</code> operation to
       succeed.</p>
       <p>
       An expression can contain any of the following:
       </p>
       <ul>
       <li>
       <p>
       Functions:
       <code>attribute_exists | attribute_not_exists | attribute_type | contains | begins_with | size</code>
       </p>
       <p>
       These function names are case-sensitive.
       </p>
       </li>
       <li>
       <p>
       Comparison operators: <code>= | &lt;&gt; | &lt; | &gt; | &lt;= | &gt;= | BETWEEN | IN </code>
       </p>
       </li>
       <li>
       <p>
       Logical operators: <code>AND | OR | NOT</code>
       </p>
       </li>
       </ul>
       <p>
       For more information on condition expressions, see <a href=
       "https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html"
       >Condition 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/PutItemRequest.java