@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. 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.
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.public String getProjectVersionArn()
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.
public DetectCustomLabelsRequest withProjectVersionArn(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.
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.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. DetectCustomLabels
doesn't return
any labels with a confidence value that's lower than this specified value. If you specify a value of 0,
DetectCustomLabels
returns all labels, regardless of the assumed threshold applied to each label. If
you don't specify a value for MinConfidence
, DetectCustomLabels
returns labels based on
the assumed threshold of each label.
minConfidence
- Specifies the minimum confidence level for the labels to return. DetectCustomLabels
doesn't
return any labels with a confidence value that's lower than this specified value. If you specify a value
of 0, DetectCustomLabels
returns all labels, regardless of the assumed threshold applied to
each label. If you don't specify a value for MinConfidence
, DetectCustomLabels
returns labels based on the assumed threshold of each label.public Float getMinConfidence()
Specifies the minimum confidence level for the labels to return. DetectCustomLabels
doesn't return
any labels with a confidence value that's lower than this specified value. If you specify a value of 0,
DetectCustomLabels
returns all labels, regardless of the assumed threshold applied to each label. If
you don't specify a value for MinConfidence
, DetectCustomLabels
returns labels based on
the assumed threshold of each label.
DetectCustomLabels
doesn't
return any labels with a confidence value that's lower than this specified value. If you specify a value
of 0, DetectCustomLabels
returns all labels, regardless of the assumed threshold applied to
each label. If you don't specify a value for MinConfidence
, DetectCustomLabels
returns labels based on the assumed threshold of each label.public DetectCustomLabelsRequest withMinConfidence(Float minConfidence)
Specifies the minimum confidence level for the labels to return. DetectCustomLabels
doesn't return
any labels with a confidence value that's lower than this specified value. If you specify a value of 0,
DetectCustomLabels
returns all labels, regardless of the assumed threshold applied to each label. If
you don't specify a value for MinConfidence
, DetectCustomLabels
returns labels based on
the assumed threshold of each label.
minConfidence
- Specifies the minimum confidence level for the labels to return. DetectCustomLabels
doesn't
return any labels with a confidence value that's lower than this specified value. If you specify a value
of 0, DetectCustomLabels
returns all labels, regardless of the assumed threshold applied to
each label. If you don't specify a value for MinConfidence
, DetectCustomLabels
returns labels based on the assumed threshold of each label.public String toString()
toString
in class Object
Object.toString()
public DetectCustomLabelsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()