@Generated(value="software.amazon.awssdk:codegen") public final class DetectCustomLabelsRequest extends RekognitionRequest implements ToCopyableBuilder<DetectCustomLabelsRequest.Builder,DetectCustomLabelsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DetectCustomLabelsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DetectCustomLabelsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Image |
image()
Returns the value of the Image property for this object.
|
Integer |
maxResults()
Maximum number of results you want the service to return in the response.
|
Float |
minConfidence()
Specifies the minimum confidence level for the labels to return.
|
String |
projectVersionArn()
The ARN of the model version that you want to use.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DetectCustomLabelsRequest.Builder> |
serializableBuilderClass() |
DetectCustomLabelsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String projectVersionArn()
The ARN of the model version that you want to use.
public final Image image()
public final Integer maxResults()
Maximum number of results you want the service to return in the response. The service returns the specified number of highest confidence labels ranked from highest confidence to lowest.
public final Float minConfidence()
Specifies the minimum confidence level for the labels to return. DetectCustomLabels doesn't return
any labels with a confidence value that's lower than this specified value. If you specify a value of 0,
DetectCustomLabels returns all labels, regardless of the assumed threshold applied to each label. If
you don't specify a value for MinConfidence, DetectCustomLabels returns labels based on
the assumed threshold of each label.
DetectCustomLabels doesn't
return any labels with a confidence value that's lower than this specified value. If you specify a value
of 0, DetectCustomLabels returns all labels, regardless of the assumed threshold applied to
each label. If you don't specify a value for MinConfidence, DetectCustomLabels
returns labels based on the assumed threshold of each label.public DetectCustomLabelsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DetectCustomLabelsRequest.Builder,DetectCustomLabelsRequest>toBuilder in class RekognitionRequestpublic static DetectCustomLabelsRequest.Builder builder()
public static Class<? extends DetectCustomLabelsRequest.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 © 2023. All rights reserved.