Interface ModerationLabel.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ModerationLabel.Builder,ModerationLabel>, SdkBuilder<ModerationLabel.Builder,ModerationLabel>, SdkPojo
Enclosing class:
ModerationLabel

public static interface ModerationLabel.Builder extends SdkPojo, CopyableBuilder<ModerationLabel.Builder,ModerationLabel>
  • Method Details

    • confidence

      ModerationLabel.Builder confidence(Float confidence)

      Specifies the confidence that Amazon Rekognition has that the label has been correctly identified.

      If you don't specify the MinConfidence parameter in the call to DetectModerationLabels, the operation returns labels with a confidence value greater than or equal to 50 percent.

      Parameters:
      confidence - Specifies the confidence that Amazon Rekognition has that the label has been correctly identified.

      If you don't specify the MinConfidence parameter in the call to DetectModerationLabels, the operation returns labels with a confidence value greater than or equal to 50 percent.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The label name for the type of unsafe content detected in the image.

      Parameters:
      name - The label name for the type of unsafe content detected in the image.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • parentName

      ModerationLabel.Builder parentName(String parentName)

      The name for the parent label. Labels at the top level of the hierarchy have the parent label "" .

      Parameters:
      parentName - The name for the parent label. Labels at the top level of the hierarchy have the parent label "".
      Returns:
      Returns a reference to this object so that method calls can be chained together.