public void setCode(String code) {
        this.code = code;
    }
The error code.

@param code
       The error code.
aws-java-sdk-mediaconnect/src/main/java/com/amazonaws/services/mediaconnect/model/MessageDetail.java