Interface MediaAnalysisDetectModerationLabelsConfig.Builder

All Superinterfaces:
Buildable, CopyableBuilder<MediaAnalysisDetectModerationLabelsConfig.Builder,MediaAnalysisDetectModerationLabelsConfig>, SdkBuilder<MediaAnalysisDetectModerationLabelsConfig.Builder,MediaAnalysisDetectModerationLabelsConfig>, SdkPojo
Enclosing class:
MediaAnalysisDetectModerationLabelsConfig

public static interface MediaAnalysisDetectModerationLabelsConfig.Builder extends SdkPojo, CopyableBuilder<MediaAnalysisDetectModerationLabelsConfig.Builder,MediaAnalysisDetectModerationLabelsConfig>
  • Method Details

    • 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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • projectVersion

      Specifies the custom moderation model to be used during the label detection job. If not provided the pre-trained model is used.

      Parameters:
      projectVersion - Specifies the custom moderation model to be used during the label detection job. If not provided the pre-trained model is used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.