public void setCode(String code) {
        this.code = code;
    }
<p>
An error code representing why the action failed on this entry.
</p>

@param code
       An error code representing why the action failed on this entry.
aws-java-sdk-sqs/src/main/java/com/amazonaws/services/sqs/model/BatchResultErrorEntry.java