Class MediaAnalysisDetectModerationLabelsConfig
java.lang.Object
software.amazon.awssdk.services.rekognition.model.MediaAnalysisDetectModerationLabelsConfig
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MediaAnalysisDetectModerationLabelsConfig.Builder,MediaAnalysisDetectModerationLabelsConfig>
@Generated("software.amazon.awssdk:codegen")
public final class MediaAnalysisDetectModerationLabelsConfig
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<MediaAnalysisDetectModerationLabelsConfig.Builder,MediaAnalysisDetectModerationLabelsConfig>
Configuration for Moderation Labels Detection.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final FloatSpecifies the minimum confidence level for the moderation labels to return.final StringSpecifies the custom moderation model to be used during the label detection job.static Class<? extends MediaAnalysisDetectModerationLabelsConfig.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
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.
- Returns:
- 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.
-
projectVersion
Specifies the custom moderation model to be used during the label detection job. If not provided the pre-trained model is used.
- Returns:
- Specifies the custom moderation model to be used during the label detection job. If not provided the pre-trained model is used.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<MediaAnalysisDetectModerationLabelsConfig.Builder,MediaAnalysisDetectModerationLabelsConfig> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
public static Class<? extends MediaAnalysisDetectModerationLabelsConfig.Builder> serializableBuilderClass() -
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-