Interface MediaAnalysisDetectModerationLabelsConfig.Builder

    • Method Detail

      • minConfidence

        MediaAnalysisDetectModerationLabelsConfig.Builder minConfidence​(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.

        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

        MediaAnalysisDetectModerationLabelsConfig.Builder projectVersion​(String 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.