public void setAttributeDefinitions(java.util.Collection<AttributeDefinition> attributeDefinitions) {
        if (attributeDefinitions == null) {
            this.attributeDefinitions = null;
            return;
        }

        this.attributeDefinitions = new java.util.ArrayList<AttributeDefinition>(attributeDefinitions);
    }
<p>
An array of attributes that describe the key schema for the table and indexes. If you are adding a new global
secondary index to the table, <code>AttributeDefinitions</code> must include the key element(s) of the new index.
</p>

@param attributeDefinitions
       An array of attributes that describe the key schema for the table and indexes. If you are adding a new
       global secondary index to the table, <code>AttributeDefinitions</code> must include the key element(s) of
       the new index.
aws-java-sdk-dynamodb/src/main/java/com/amazonaws/services/dynamodbv2/model/UpdateTableRequest.java