@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MediaAnalysisDetectModerationLabelsConfig extends Object implements Serializable, Cloneable, StructuredPojo
Configuration for Moderation Labels Detection.
| Constructor and Description | 
|---|
| MediaAnalysisDetectModerationLabelsConfig() | 
| Modifier and Type | Method and Description | 
|---|---|
| MediaAnalysisDetectModerationLabelsConfig | clone() | 
| boolean | equals(Object obj) | 
| Float | getMinConfidence()
 Specifies the minimum confidence level for the moderation labels to return. | 
| String | getProjectVersion()
 Specifies the custom moderation model to be used during the label detection job. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setMinConfidence(Float minConfidence)
 Specifies the minimum confidence level for the moderation labels to return. | 
| void | setProjectVersion(String projectVersion)
 Specifies the custom moderation model to be used during the label detection job. | 
| String | toString()Returns a string representation of this object. | 
| MediaAnalysisDetectModerationLabelsConfig | withMinConfidence(Float minConfidence)
 Specifies the minimum confidence level for the moderation labels to return. | 
| MediaAnalysisDetectModerationLabelsConfig | withProjectVersion(String projectVersion)
 Specifies the custom moderation model to be used during the label detection job. | 
public MediaAnalysisDetectModerationLabelsConfig()
public void setMinConfidence(Float minConfidence)
Specifies the minimum confidence level for the moderation labels to return. Amazon Rekognition doesn't return any labels with a confidence level lower than this specified value.
minConfidence - Specifies the minimum confidence level for the moderation labels to return. Amazon Rekognition doesn't
        return any labels with a confidence level lower than this specified value.public Float getMinConfidence()
Specifies the minimum confidence level for the moderation labels to return. Amazon Rekognition doesn't return any labels with a confidence level lower than this specified value.
public MediaAnalysisDetectModerationLabelsConfig withMinConfidence(Float minConfidence)
Specifies the minimum confidence level for the moderation labels to return. Amazon Rekognition doesn't return any labels with a confidence level lower than this specified value.
minConfidence - Specifies the minimum confidence level for the moderation labels to return. Amazon Rekognition doesn't
        return any labels with a confidence level lower than this specified value.public void setProjectVersion(String projectVersion)
Specifies the custom moderation model to be used during the label detection job. If not provided the pre-trained model is used.
projectVersion - Specifies the custom moderation model to be used during the label detection job. If not provided the
        pre-trained model is used.public String getProjectVersion()
Specifies the custom moderation model to be used during the label detection job. If not provided the pre-trained model is used.
public MediaAnalysisDetectModerationLabelsConfig withProjectVersion(String projectVersion)
Specifies the custom moderation model to be used during the label detection job. If not provided the pre-trained model is used.
projectVersion - Specifies the custom moderation model to be used during the label detection job. If not provided the
        pre-trained model is used.public String toString()
toString in class ObjectObject.toString()public MediaAnalysisDetectModerationLabelsConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.