@Generated(value="software.amazon.awssdk:codegen") public final class DetectModerationLabelsRequest extends RekognitionRequest implements ToCopyableBuilder<DetectModerationLabelsRequest.Builder,DetectModerationLabelsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DetectModerationLabelsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DetectModerationLabelsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
HumanLoopConfig |
humanLoopConfig()
Sets up the configuration for human evaluation, including the FlowDefinition the image will be sent to.
|
Image |
image()
The input image as base64-encoded bytes or an S3 object.
|
Float |
minConfidence()
Specifies the minimum confidence level for the labels to return.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DetectModerationLabelsRequest.Builder> |
serializableBuilderClass() |
DetectModerationLabelsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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.
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.
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.
If you don't specify MinConfidence, the operation returns labels with confidence values
greater than or equal to 50 percent.
public final HumanLoopConfig humanLoopConfig()
Sets up the configuration for human evaluation, including the FlowDefinition the image will be sent to.
public DetectModerationLabelsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DetectModerationLabelsRequest.Builder,DetectModerationLabelsRequest>toBuilder in class RekognitionRequestpublic static DetectModerationLabelsRequest.Builder builder()
public static Class<? extends DetectModerationLabelsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.