Class DetectCustomLabelsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.rekognition.model.RekognitionRequest
-
- software.amazon.awssdk.services.rekognition.model.DetectCustomLabelsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DetectCustomLabelsRequest.Builder,DetectCustomLabelsRequest>
@Generated("software.amazon.awssdk:codegen") public final class DetectCustomLabelsRequest extends RekognitionRequest implements ToCopyableBuilder<DetectCustomLabelsRequest.Builder,DetectCustomLabelsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDetectCustomLabelsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DetectCustomLabelsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Imageimage()Returns the value of the Image property for this object.IntegermaxResults()Maximum number of results you want the service to return in the response.FloatminConfidence()Specifies the minimum confidence level for the labels to return.StringprojectVersionArn()The ARN of the model version that you want to use.List<SdkField<?>>sdkFields()static Class<? extends DetectCustomLabelsRequest.Builder>serializableBuilderClass()DetectCustomLabelsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
projectVersionArn
public final String projectVersionArn()
The ARN of the model version that you want to use. Only models associated with Custom Labels projects accepted by the operation. If a provided ARN refers to a model version associated with a project for a different feature type, then an InvalidParameterException is returned.
- Returns:
- The ARN of the model version that you want to use. Only models associated with Custom Labels projects accepted by the operation. If a provided ARN refers to a model version associated with a project for a different feature type, then an InvalidParameterException is returned.
-
image
public final Image image()
Returns the value of the Image property for this object.- Returns:
- The value of the Image property for this object.
-
maxResults
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.
- Returns:
- 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.
-
minConfidence
public final Float minConfidence()
Specifies the minimum confidence level for the labels to return.
DetectCustomLabelsdoesn't return any labels with a confidence value that's lower than this specified value. If you specify a value of 0,DetectCustomLabelsreturns all labels, regardless of the assumed threshold applied to each label. If you don't specify a value forMinConfidence,DetectCustomLabelsreturns labels based on the assumed threshold of each label.- Returns:
- Specifies the minimum confidence level for the labels to return.
DetectCustomLabelsdoesn't return any labels with a confidence value that's lower than this specified value. If you specify a value of 0,DetectCustomLabelsreturns all labels, regardless of the assumed threshold applied to each label. If you don't specify a value forMinConfidence,DetectCustomLabelsreturns labels based on the assumed threshold of each label.
-
toBuilder
public DetectCustomLabelsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DetectCustomLabelsRequest.Builder,DetectCustomLabelsRequest>- Specified by:
toBuilderin classRekognitionRequest
-
builder
public static DetectCustomLabelsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DetectCustomLabelsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-