public void setRecords(java.util.Collection<PutRecordsResultEntry> records) {
        if (records == null) {
            this.records = null;
            return;
        }

        this.records = new com.amazonaws.internal.SdkInternalList<PutRecordsResultEntry>(records);
    }
<p>
An array of successfully and unsuccessfully processed record results. A record that is successfully added to a
stream includes <code>SequenceNumber</code> and <code>ShardId</code> in the result. A record that fails to be
added to a stream includes <code>ErrorCode</code> and <code>ErrorMessage</code> in the result.
</p>

@param records
       An array of successfully and unsuccessfully processed record results. A record that is successfully added
       to a stream includes <code>SequenceNumber</code> and <code>ShardId</code> in the result. A record that
       fails to be added to a stream includes <code>ErrorCode</code> and <code>ErrorMessage</code> in the result.
aws-java-sdk-kinesis/src/main/java/com/amazonaws/services/kinesis/model/PutRecordsResult.java