@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) |
HumanLoopConfig |
getHumanLoopConfig()
Sets up the configuration for human evaluation, including the FlowDefinition the image will be sent to.
|
Image |
getImage()
The input image as base64-encoded bytes or an S3 object.
|
Float |
getMinConfidence()
Specifies the minimum confidence level for the labels to return.
|
String |
getProjectVersion()
Identifier for the custom adapter.
|
int |
hashCode() |
void |
setHumanLoopConfig(HumanLoopConfig humanLoopConfig)
Sets up the configuration for human evaluation, including the FlowDefinition the image will be sent to.
|
void |
setImage(Image image)
The input image as base64-encoded bytes or an S3 object.
|
void |
setMinConfidence(Float minConfidence)
Specifies the minimum confidence level for the labels to return.
|
void |
setProjectVersion(String projectVersion)
Identifier for the custom adapter.
|
String |
toString()
Returns a string representation of this object.
|
DetectModerationLabelsRequest |
withHumanLoopConfig(HumanLoopConfig humanLoopConfig)
Sets up the configuration for human evaluation, including the FlowDefinition the image will be sent to.
|
DetectModerationLabelsRequest |
withImage(Image image)
The input image as base64-encoded bytes or an S3 object.
|
DetectModerationLabelsRequest |
withMinConfidence(Float minConfidence)
Specifies the minimum confidence level for the labels to return.
|
DetectModerationLabelsRequest |
withProjectVersion(String projectVersion)
Identifier for the custom adapter.
|
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 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.
If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed
using the Bytes
field. For more information, see Images in the Amazon Rekognition developer guide.
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.
If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes
passed using the Bytes
field. For more information, see Images in the Amazon Rekognition
developer guide.
public Image getImage()
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.
If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed
using the Bytes
field. For more information, see Images in the Amazon Rekognition developer guide.
If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes
passed using the Bytes
field. For more information, see Images in the Amazon Rekognition
developer guide.
public DetectModerationLabelsRequest withImage(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.
If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes passed
using the Bytes
field. For more information, see Images in the Amazon Rekognition developer guide.
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.
If you are using an AWS SDK to call Amazon Rekognition, you might not need to base64-encode image bytes
passed using the Bytes
field. For more information, see Images in the Amazon Rekognition
developer guide.
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 void setHumanLoopConfig(HumanLoopConfig humanLoopConfig)
Sets up the configuration for human evaluation, including the FlowDefinition the image will be sent to.
humanLoopConfig
- Sets up the configuration for human evaluation, including the FlowDefinition the image will be sent to.public HumanLoopConfig getHumanLoopConfig()
Sets up the configuration for human evaluation, including the FlowDefinition the image will be sent to.
public DetectModerationLabelsRequest withHumanLoopConfig(HumanLoopConfig humanLoopConfig)
Sets up the configuration for human evaluation, including the FlowDefinition the image will be sent to.
humanLoopConfig
- Sets up the configuration for human evaluation, including the FlowDefinition the image will be sent to.public void setProjectVersion(String projectVersion)
Identifier for the custom adapter. Expects the ProjectVersionArn as a value. Use the CreateProject or CreateProjectVersion APIs to create a custom adapter.
projectVersion
- Identifier for the custom adapter. Expects the ProjectVersionArn as a value. Use the CreateProject or
CreateProjectVersion APIs to create a custom adapter.public String getProjectVersion()
Identifier for the custom adapter. Expects the ProjectVersionArn as a value. Use the CreateProject or CreateProjectVersion APIs to create a custom adapter.
public DetectModerationLabelsRequest withProjectVersion(String projectVersion)
Identifier for the custom adapter. Expects the ProjectVersionArn as a value. Use the CreateProject or CreateProjectVersion APIs to create a custom adapter.
projectVersion
- Identifier for the custom adapter. Expects the ProjectVersionArn as a value. Use the CreateProject or
CreateProjectVersion APIs to create a custom adapter.public String toString()
toString
in class Object
Object.toString()
public DetectModerationLabelsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()