/** * <p> * Specifies the minimum confidence level for the labels to return. Amazon Rekognition doesn't return any labels * with a confidence level lower than this specified value. * </p> * <p> * If you don't specify <code>MinConfidence</code>, the operation returns labels with confidence values greater than * or equal to 50 percent. * </p> * * @param minConfidence * Specifies the minimum confidence level for the labels to return. Amazon Rekognition doesn't return any * labels with a confidence level lower than this specified value.</p> * <p> * If you don't specify <code>MinConfidence</code>, the operation returns labels with confidence values * greater than or equal to 50 percent. * @return Returns a reference to this object so that method calls can be chained together. */ public DetectModerationLabelsRequest withMinConfidence(Float minConfidence) { setMinConfidence(minConfidence); return this; }