public void setKeySchema(java.util.Collection<KeySchemaElement> keySchema) {
        if (keySchema == null) {
            this.keySchema = null;
            return;
        }

        this.keySchema = new java.util.ArrayList<KeySchemaElement>(keySchema);
    }
<p>
The complete key schema for the local secondary index, consisting of one or more pairs of attribute names and key
types:
</p>
<ul>
<li>
<p>
<code>HASH</code> - partition key
</p>
</li>
<li>
<p>
<code>RANGE</code> - sort key
</p>
</li>
</ul>
<note>
<p>
The partition key of an item is also known as its <i>hash attribute</i>. The term "hash attribute" derives from
DynamoDB's usage of an internal hash function to evenly distribute data items across partitions, based on their
partition key values.
</p>
<p>
The sort key of an item is also known as its <i>range attribute</i>. The term "range attribute" derives from the
way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key
value.
</p>
</note>

@param keySchema
       The complete key schema for the local secondary index, consisting of one or more pairs of attribute names
       and key types:</p>
       <ul>
       <li>
       <p>
       <code>HASH</code> - partition key
       </p>
       </li>
       <li>
       <p>
       <code>RANGE</code> - sort key
       </p>
       </li>
       </ul>
       <note>
       <p>
       The partition key of an item is also known as its <i>hash attribute</i>. The term "hash attribute" derives
       from DynamoDB's usage of an internal hash function to evenly distribute data items across partitions,
       based on their partition key values.
       </p>
       <p>
       The sort key of an item is also known as its <i>range attribute</i>. The term "range attribute" derives
       from the way DynamoDB stores items with the same partition key physically close together, in sorted order
       by the sort key value.
       </p>
aws-java-sdk-dynamodb/src/main/java/com/amazonaws/services/dynamodbv2/model/LocalSecondaryIndex.java