Class DetectModerationLabelsRequest

    • Method Detail

      • image

        public final Image image()

        The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported.

        If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed using the Bytes field. For more information, see Images in the Amazon Rekognition developer guide.

        Returns:
        The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported.

        If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed using the Bytes field. For more information, see Images in the Amazon Rekognition developer guide.

      • minConfidence

        public final Float minConfidence()

        Specifies the minimum confidence level for the labels to return. Amazon Rekognition doesn't return any labels with a confidence level lower than this specified value.

        If you don't specify MinConfidence, the operation returns labels with confidence values greater than or equal to 50 percent.

        Returns:
        Specifies the minimum confidence level for the labels to return. Amazon Rekognition doesn't return any labels with a confidence level lower than this specified value.

        If you don't specify MinConfidence, the operation returns labels with confidence values greater than or equal to 50 percent.

      • humanLoopConfig

        public final HumanLoopConfig humanLoopConfig()

        Sets up the configuration for human evaluation, including the FlowDefinition the image will be sent to.

        Returns:
        Sets up the configuration for human evaluation, including the FlowDefinition the image will be sent to.
      • projectVersion

        public final String projectVersion()

        Identifier for the custom adapter. Expects the ProjectVersionArn as a value. Use the CreateProject or CreateProjectVersion APIs to create a custom adapter.

        Returns:
        Identifier for the custom adapter. Expects the ProjectVersionArn as a value. Use the CreateProject or CreateProjectVersion APIs to create a custom adapter.
      • toString

        public final String 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.
        Overrides:
        toString in class Object