public java.util.Map<String, ExpectedAttributeValue> getExpected() {
        return expected;
    }
<p>
This is a legacy parameter. Use <code>ConditionExpression</code> instead. For more information, see <a href=
"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.Expected.html"
>Expected</a> in the <i>Amazon DynamoDB Developer Guide</i>.
</p>

@return This is a legacy parameter. Use <code>ConditionExpression</code> instead. For more information, see <a
        href=
        "https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.Expected.html"
        >Expected</a> in the <i>Amazon DynamoDB Developer Guide</i>.
aws-java-sdk-dynamodb/src/main/java/com/amazonaws/services/dynamodbv2/model/DeleteItemRequest.java