public DocumentClass withScore(Float score) {
        setScore(score);
        return this;
    }
<p>
The confidence score that Amazon Comprehend has this class correctly attributed.
</p>

@param score
       The confidence score that Amazon Comprehend has this class correctly attributed.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/DocumentClass.java