@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetectCustomLabelsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DetectCustomLabelsRequest() |
Modifier and Type | Method and Description |
---|---|
DetectCustomLabelsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Image |
getImage() |
Integer |
getMaxResults()
Maximum number of results you want the service to return in the response.
|
Float |
getMinConfidence()
Specifies the minimum confidence level for the labels to return.
|
String |
getProjectVersionArn()
The ARN of the model version that you want to use.
|
int |
hashCode() |
void |
setImage(Image image) |
void |
setMaxResults(Integer maxResults)
Maximum number of results you want the service to return in the response.
|
void |
setMinConfidence(Float minConfidence)
Specifies the minimum confidence level for the labels to return.
|
void |
setProjectVersionArn(String projectVersionArn)
The ARN of the model version that you want to use.
|
String |
toString()
Returns a string representation of this object.
|
DetectCustomLabelsRequest |
withImage(Image image) |
DetectCustomLabelsRequest |
withMaxResults(Integer maxResults)
Maximum number of results you want the service to return in the response.
|
DetectCustomLabelsRequest |
withMinConfidence(Float minConfidence)
Specifies the minimum confidence level for the labels to return.
|
DetectCustomLabelsRequest |
withProjectVersionArn(String projectVersionArn)
The ARN of the model version that you want to use.
|
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 setProjectVersionArn(String projectVersionArn)
The ARN of the model version that you want to use.
projectVersionArn
- The ARN of the model version that you want to use.public String getProjectVersionArn()
The ARN of the model version that you want to use.
public DetectCustomLabelsRequest withProjectVersionArn(String projectVersionArn)
The ARN of the model version that you want to use.
projectVersionArn
- The ARN of the model version that you want to use.public void setImage(Image image)
image
- public Image getImage()
public DetectCustomLabelsRequest withImage(Image image)
image
- public void setMaxResults(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.
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 Integer getMaxResults()
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 DetectCustomLabelsRequest withMaxResults(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.
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 void setMinConfidence(Float minConfidence)
Specifies the minimum confidence level for the labels to return. Amazon Rekognition doesn't return any labels with a confidence lower than this specified value. If you specify a value of 0, all labels are return, regardless of the default thresholds that the model version applies.
minConfidence
- Specifies the minimum confidence level for the labels to return. Amazon Rekognition doesn't return any
labels with a confidence lower than this specified value. If you specify a value of 0, all labels are
return, regardless of the default thresholds that the model version applies.public Float getMinConfidence()
Specifies the minimum confidence level for the labels to return. Amazon Rekognition doesn't return any labels with a confidence lower than this specified value. If you specify a value of 0, all labels are return, regardless of the default thresholds that the model version applies.
public DetectCustomLabelsRequest withMinConfidence(Float minConfidence)
Specifies the minimum confidence level for the labels to return. Amazon Rekognition doesn't return any labels with a confidence lower than this specified value. If you specify a value of 0, all labels are return, regardless of the default thresholds that the model version applies.
minConfidence
- Specifies the minimum confidence level for the labels to return. Amazon Rekognition doesn't return any
labels with a confidence lower than this specified value. If you specify a value of 0, all labels are
return, regardless of the default thresholds that the model version applies.public String toString()
toString
in class Object
Object.toString()
public DetectCustomLabelsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()