public void setHeaders(java.util.Collection<KafkaActionHeader> headers) {
        if (headers == null) {
            this.headers = null;
            return;
        }

        this.headers = new java.util.ArrayList<KafkaActionHeader>(headers);
    }
<p>
The list of Kafka headers that you specify.
</p>

@param headers
       The list of Kafka headers that you specify.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/KafkaAction.java