public UnprocessedConfigurationPolicyAssociation withErrorCode(String errorCode) {
        setErrorCode(errorCode);
        return this;
    }
<p>
An HTTP status code that identifies why the configuration policy association failed.
</p>

@param errorCode
       An HTTP status code that identifies why the configuration policy association failed.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/UnprocessedConfigurationPolicyAssociation.java