Interface MediaAnalysisDetectModerationLabelsConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MediaAnalysisDetectModerationLabelsConfig.Builder,
,MediaAnalysisDetectModerationLabelsConfig> SdkBuilder<MediaAnalysisDetectModerationLabelsConfig.Builder,
,MediaAnalysisDetectModerationLabelsConfig> SdkPojo
- Enclosing class:
MediaAnalysisDetectModerationLabelsConfig
@Mutable
@NotThreadSafe
public static interface MediaAnalysisDetectModerationLabelsConfig.Builder
extends SdkPojo, CopyableBuilder<MediaAnalysisDetectModerationLabelsConfig.Builder,MediaAnalysisDetectModerationLabelsConfig>
-
Method Summary
Modifier and TypeMethodDescriptionminConfidence
(Float minConfidence) Specifies the minimum confidence level for the moderation labels to return.projectVersion
(String projectVersion) Specifies the custom moderation model to be used during the label detection job.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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.
-