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

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