@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetectLabelsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DetectLabelsRequest() |
Modifier and Type | Method and Description |
---|---|
DetectLabelsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Image |
getImage()
The input image.
|
Integer |
getMaxLabels()
Maximum number of labels you want the service to return in the response.
|
Float |
getMinConfidence()
Specifies the minimum confidence level for the labels to return.
|
int |
hashCode() |
void |
setImage(Image image)
The input image.
|
void |
setMaxLabels(Integer maxLabels)
Maximum number of labels you want the service to return in the response.
|
void |
setMinConfidence(Float minConfidence)
Specifies the minimum confidence level for the labels to return.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DetectLabelsRequest |
withImage(Image image)
The input image.
|
DetectLabelsRequest |
withMaxLabels(Integer maxLabels)
Maximum number of labels you want the service to return in the response.
|
DetectLabelsRequest |
withMinConfidence(Float minConfidence)
Specifies the minimum confidence level for the labels to return.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setImage(Image image)
The input image. You can provide a blob of image bytes or an S3 object.
image
- The input image. You can provide a blob of image bytes or an S3 object.public Image getImage()
The input image. You can provide a blob of image bytes or an S3 object.
public DetectLabelsRequest withImage(Image image)
The input image. You can provide a blob of image bytes or an S3 object.
image
- The input image. You can provide a blob of image bytes or an S3 object.public void setMaxLabels(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.
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 Integer getMaxLabels()
Maximum number of labels you want the service to return in the response. The service returns the specified number of highest confidence labels.
public DetectLabelsRequest withMaxLabels(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.
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 void setMinConfidence(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 50 percent.
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 50 percent.
public Float getMinConfidence()
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 50 percent.
If MinConfidence
is not specified, the operation returns labels with a confidence values
greater than or equal to 50 percent.
public DetectLabelsRequest withMinConfidence(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 50 percent.
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 50 percent.
public String toString()
toString
in class Object
Object.toString()
public DetectLabelsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.