public void setErrorReason(String errorReason) {
        this.errorReason = errorReason;
    }
<p>
Error reason for a package version failure during creation or update.
</p>

@param errorReason
       Error reason for a package version failure during creation or update.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/CreatePackageVersionResult.java