public String getErrorCode() {
        return this.errorCode;
    }
<p>
The error code that indicates why the event submission failed.
</p>
<p>
Retryable errors include:
</p>
<ul>
<li>
<p>
<code> <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/CommonErrors.html">InternalFailure</a> </code>
</p>
<p>
The request processing has failed because of an unknown error, exception or failure.
</p>
</li>
<li>
<p>
<code> <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/CommonErrors.html">ThrottlingException</a> </code>
</p>
<p>
The request was denied due to request throttling.
</p>
</li>
</ul>
<p>
Non-retryable errors include:
</p>
<ul>
<li>
<p>
<code> <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/CommonErrors.html">AccessDeniedException</a> </code>
</p>
<p>
You do not have sufficient access to perform this action.
</p>
</li>
<li>
<p>
<code>InvalidAccountIdException</code>
</p>
<p>
The account ID provided is not valid.
</p>
</li>
<li>
<p>
<code>InvalidArgument</code>
</p>
<p>
A specified parameter is not valid.
</p>
</li>
<li>
<p>
<code>MalformedDetail</code>
</p>
<p>
The JSON provided is not valid.
</p>
</li>
<li>
<p>
<code>RedactionFailure</code>
</p>
<p>
Redacting the CloudTrail event failed.
</p>
</li>
<li>
<p>
<code>NotAuthorizedForSourceException</code>
</p>
<p>
You do not have permissions to publish events with this source onto this event bus.
</p>
</li>
<li>
<p>
<code>NotAuthorizedForDetailTypeException</code>
</p>
<p>
You do not have permissions to publish events with this detail type onto this event bus.
</p>
</li>
</ul>

@return The error code that indicates why the event submission failed.</p>
        <p>
        Retryable errors include:
        </p>
        <ul>
        <li>
        <p>
        <code> <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/CommonErrors.html">InternalFailure</a> </code>
        </p>
        <p>
        The request processing has failed because of an unknown error, exception or failure.
        </p>
        </li>
        <li>
        <p>
        <code> <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/CommonErrors.html">ThrottlingException</a> </code>
        </p>
        <p>
        The request was denied due to request throttling.
        </p>
        </li>
        </ul>
        <p>
        Non-retryable errors include:
        </p>
        <ul>
        <li>
        <p>
        <code> <a href="https://docs.aws.amazon.com/eventbridge/latest/APIReference/CommonErrors.html">AccessDeniedException</a> </code>
        </p>
        <p>
        You do not have sufficient access to perform this action.
        </p>
        </li>
        <li>
        <p>
        <code>InvalidAccountIdException</code>
        </p>
        <p>
        The account ID provided is not valid.
        </p>
        </li>
        <li>
        <p>
        <code>InvalidArgument</code>
        </p>
        <p>
        A specified parameter is not valid.
        </p>
        </li>
        <li>
        <p>
        <code>MalformedDetail</code>
        </p>
        <p>
        The JSON provided is not valid.
        </p>
        </li>
        <li>
        <p>
        <code>RedactionFailure</code>
        </p>
        <p>
        Redacting the CloudTrail event failed.
        </p>
        </li>
        <li>
        <p>
        <code>NotAuthorizedForSourceException</code>
        </p>
        <p>
        You do not have permissions to publish events with this source onto this event bus.
        </p>
        </li>
        <li>
        <p>
        <code>NotAuthorizedForDetailTypeException</code>
        </p>
        <p>
        You do not have permissions to publish events with this detail type onto this event bus.
        </p>
        </li>
aws-java-sdk-eventbridge/src/main/java/com/amazonaws/services/eventbridge/model/PutEventsResultEntry.java