public void setInferred(Boolean inferred) {
        this.inferred = inferred;
    }
<p>
A Boolean value indicating if the service is inferred from the trace.
</p>

@param inferred
       A Boolean value indicating if the service is inferred from the trace.
aws-java-sdk-xray/src/main/java/com/amazonaws/services/xray/model/ErrorRootCauseService.java