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 boolean
final boolean
equalsBySdkFields
(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 int
hashCode()
final Float
Specifies the minimum confidence level for the moderation labels to return.final String
Specifies 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 String
toString()
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:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<MediaAnalysisDetectModerationLabelsConfig.Builder,
MediaAnalysisDetectModerationLabelsConfig> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
public static Class<? extends MediaAnalysisDetectModerationLabelsConfig.Builder> serializableBuilderClass() -
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-