@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetectModerationLabelsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DetectModerationLabelsRequest() |
Modifier and Type | Method and Description |
---|---|
DetectModerationLabelsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Image |
getImage()
The input image as bytes or an S3 object.
|
Float |
getMinConfidence()
Specifies the minimum confidence level for the labels to return.
|
int |
hashCode() |
void |
setImage(Image image)
The input image as bytes or an S3 object.
|
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.
|
DetectModerationLabelsRequest |
withImage(Image image)
The input image as bytes or an S3 object.
|
DetectModerationLabelsRequest |
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 as bytes or an S3 object.
image
- The input image as bytes or an S3 object.public Image getImage()
The input image as bytes or an S3 object.
public DetectModerationLabelsRequest withImage(Image image)
The input image as bytes or an S3 object.
image
- The input image as bytes or an S3 object.public void setMinConfidence(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.
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.
public Float getMinConfidence()
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 DetectModerationLabelsRequest withMinConfidence(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.
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.
public String toString()
toString
in class Object
Object.toString()
public DetectModerationLabelsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.