public Integer getAnomaly() {
        return this.anomaly;
    }
<p>
the total number of images labeled as an anomaly.
</p>

@return the total number of images labeled as an anomaly.
aws-java-sdk-lookoutforvision/src/main/java/com/amazonaws/services/lookoutforvision/model/DatasetImageStats.java