public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }
<p>
The error code that indicates why the target addition failed. If the value is
<code>ConcurrentModificationException</code>, too many requests were made at the same time.
</p>

@param errorCode
       The error code that indicates why the target addition failed. If the value is
       <code>ConcurrentModificationException</code>, too many requests were made at the same time.
aws-java-sdk-eventbridge/src/main/java/com/amazonaws/services/eventbridge/model/PutTargetsResultEntry.java