@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CustomizationFeatureContentModerationConfig extends Object implements Serializable, Cloneable, StructuredPojo
Configuration options for Content Moderation training.
Constructor and Description |
---|
CustomizationFeatureContentModerationConfig() |
Modifier and Type | Method and Description |
---|---|
CustomizationFeatureContentModerationConfig |
clone() |
boolean |
equals(Object obj) |
Float |
getConfidenceThreshold()
The confidence level you plan to use to identify if unsafe content is present during inference.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConfidenceThreshold(Float confidenceThreshold)
The confidence level you plan to use to identify if unsafe content is present during inference.
|
String |
toString()
Returns a string representation of this object.
|
CustomizationFeatureContentModerationConfig |
withConfidenceThreshold(Float confidenceThreshold)
The confidence level you plan to use to identify if unsafe content is present during inference.
|
public CustomizationFeatureContentModerationConfig()
public void setConfidenceThreshold(Float confidenceThreshold)
The confidence level you plan to use to identify if unsafe content is present during inference.
confidenceThreshold
- The confidence level you plan to use to identify if unsafe content is present during inference.public Float getConfidenceThreshold()
The confidence level you plan to use to identify if unsafe content is present during inference.
public CustomizationFeatureContentModerationConfig withConfidenceThreshold(Float confidenceThreshold)
The confidence level you plan to use to identify if unsafe content is present during inference.
confidenceThreshold
- The confidence level you plan to use to identify if unsafe content is present during inference.public String toString()
toString
in class Object
Object.toString()
public CustomizationFeatureContentModerationConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.