public String getDiagnosticCode() {
        return this.diagnosticCode;
    }
<p>
The status code issued by the reporting Message Transfer Authority (MTA). This field only appears if a delivery
status notification (DSN) was attached to the bounce and the <code>Diagnostic-Code</code> was provided in the
DSN.
</p>

@return The status code issued by the reporting Message Transfer Authority (MTA). This field only appears if a
        delivery status notification (DSN) was attached to the bounce and the <code>Diagnostic-Code</code> was
        provided in the DSN.
aws-java-sdk-sesv2/src/main/java/com/amazonaws/services/simpleemailv2/model/Bounce.java