public void setCode(String code) {
        this.code = code;
    }
<p>
The error code or status code associated with the message.
</p>

@param code
       The error code or status code associated with the message.
aws-java-sdk-cloudwatch/src/main/java/com/amazonaws/services/cloudwatch/model/MessageData.java