public Put withReturnValuesOnConditionCheckFailure(ReturnValuesOnConditionCheckFailure returnValuesOnConditionCheckFailure) {
        this.returnValuesOnConditionCheckFailure = returnValuesOnConditionCheckFailure.toString();
        return this;
    }
<p>
Use <code>ReturnValuesOnConditionCheckFailure</code> to get the item attributes if the <code>Put</code> condition
fails. For <code>ReturnValuesOnConditionCheckFailure</code>, the valid values are: NONE and ALL_OLD.
</p>

@param returnValuesOnConditionCheckFailure
       Use <code>ReturnValuesOnConditionCheckFailure</code> to get the item attributes if the <code>Put</code>
       condition fails. For <code>ReturnValuesOnConditionCheckFailure</code>, the valid values are: NONE and
       ALL_OLD.
@return Returns a reference to this object so that method calls can be chained together.
@see ReturnValuesOnConditionCheckFailure
aws-java-sdk-dynamodb/src/main/java/com/amazonaws/services/dynamodbv2/model/Put.java