@Generated(value="software.amazon.awssdk:codegen") public final class DetectLabelsRequest extends RekognitionRequest implements ToCopyableBuilder<DetectLabelsRequest.Builder,DetectLabelsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DetectLabelsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DetectLabelsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Image |
image()
The input image as base64-encoded bytes or an S3 object.
|
Integer |
maxLabels()
Maximum number of labels you want the service to return in the response.
|
Float |
minConfidence()
Specifies the minimum confidence level for the labels to return.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DetectLabelsRequest.Builder> |
serializableBuilderClass() |
DetectLabelsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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.
public Integer maxLabels()
Maximum number of labels you want the service to return in the response. The service returns the specified number of highest confidence labels.
public Float minConfidence()
Specifies the minimum confidence level for the labels to return. Amazon Rekognition doesn't return any labels with confidence lower than this specified value.
If MinConfidence is not specified, the operation returns labels with a confidence values greater
than or equal to 55 percent.
If MinConfidence is not specified, the operation returns labels with a confidence values
greater than or equal to 55 percent.
public DetectLabelsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DetectLabelsRequest.Builder,DetectLabelsRequest>toBuilder in class RekognitionRequestpublic static DetectLabelsRequest.Builder builder()
public static Class<? extends DetectLabelsRequest.Builder> serializableBuilderClass()
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.