public void setExclusiveStartKey(java.util.Map.Entry<String, AttributeValue> hashKey, java.util.Map.Entry<String, AttributeValue> rangeKey)
            throws IllegalArgumentException {
        java.util.HashMap<String, AttributeValue> exclusiveStartKey = new java.util.HashMap<String, AttributeValue>();
        if (hashKey != null) {
            exclusiveStartKey.put(hashKey.getKey(), hashKey.getValue());
        } else {
            throw new IllegalArgumentException("hashKey must be non-null object.");
        }
        if (rangeKey != null) {
            exclusiveStartKey.put(rangeKey.getKey(), rangeKey.getValue());
        }
        setExclusiveStartKey(exclusiveStartKey);
    }
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.

@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