public ScanRequest withExclusiveStartKey(java.util.Map.Entry<String, AttributeValue> hashKey, java.util.Map.Entry<String, AttributeValue> rangeKey)
            throws IllegalArgumentException {
        setExclusiveStartKey(hashKey, rangeKey);
        return this;
    }
The primary hash and range keys of the first item that this operation will evaluate. Use the value that was
returned for <i>LastEvaluatedKey</i> in the previous operation.
<p>
The data type for <i>ExclusiveStartKey</i> must be String, Number or Binary. No set data types are allowed.
<p>
Returns a reference to this object so that method calls can be chained together.

@param hashKey
       a map entry including the name and value of the primary hash key.
@param rangeKey
       a map entry including the name and value of the primary range key, or null if it is a hash-only table.
aws-java-sdk-dynamodb/src/main/java/com/amazonaws/services/dynamodbv2/model/ScanRequest.java