public DataSourceIntrospectionModel withPrimaryKey(DataSourceIntrospectionModelIndex primaryKey) {
        setPrimaryKey(primaryKey);
        return this;
    }
<p>
The primary key stored as a <code>DataSourceIntrospectionModelIndex</code> object.
</p>

@param primaryKey
       The primary key stored as a <code>DataSourceIntrospectionModelIndex</code> object.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-appsync/src/main/java/com/amazonaws/services/appsync/model/DataSourceIntrospectionModel.java