@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartLabelDetectionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartLabelDetectionRequest() |
Modifier and Type | Method and Description |
---|---|
StartLabelDetectionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientRequestToken()
Idempotent token used to identify the start request.
|
String |
getJobTag()
An identifier you specify that's returned in the completion notification that's published to your Amazon Simple
Notification Service topic.
|
Float |
getMinConfidence()
Specifies the minimum confidence that Amazon Rekognition Video must have in order to return a detected label.
|
NotificationChannel |
getNotificationChannel()
The Amazon SNS topic ARN you want Amazon Rekognition Video to publish the completion status of the label
detection operation to.
|
Video |
getVideo()
The video in which you want to detect labels.
|
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken)
Idempotent token used to identify the start request.
|
void |
setJobTag(String jobTag)
An identifier you specify that's returned in the completion notification that's published to your Amazon Simple
Notification Service topic.
|
void |
setMinConfidence(Float minConfidence)
Specifies the minimum confidence that Amazon Rekognition Video must have in order to return a detected label.
|
void |
setNotificationChannel(NotificationChannel notificationChannel)
The Amazon SNS topic ARN you want Amazon Rekognition Video to publish the completion status of the label
detection operation to.
|
void |
setVideo(Video video)
The video in which you want to detect labels.
|
String |
toString()
Returns a string representation of this object.
|
StartLabelDetectionRequest |
withClientRequestToken(String clientRequestToken)
Idempotent token used to identify the start request.
|
StartLabelDetectionRequest |
withJobTag(String jobTag)
An identifier you specify that's returned in the completion notification that's published to your Amazon Simple
Notification Service topic.
|
StartLabelDetectionRequest |
withMinConfidence(Float minConfidence)
Specifies the minimum confidence that Amazon Rekognition Video must have in order to return a detected label.
|
StartLabelDetectionRequest |
withNotificationChannel(NotificationChannel notificationChannel)
The Amazon SNS topic ARN you want Amazon Rekognition Video to publish the completion status of the label
detection operation to.
|
StartLabelDetectionRequest |
withVideo(Video video)
The video in which you want to detect labels.
|
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 setVideo(Video video)
The video in which you want to detect labels. The video must be stored in an Amazon S3 bucket.
video
- The video in which you want to detect labels. The video must be stored in an Amazon S3 bucket.public Video getVideo()
The video in which you want to detect labels. The video must be stored in an Amazon S3 bucket.
public StartLabelDetectionRequest withVideo(Video video)
The video in which you want to detect labels. The video must be stored in an Amazon S3 bucket.
video
- The video in which you want to detect labels. The video must be stored in an Amazon S3 bucket.public void setClientRequestToken(String clientRequestToken)
Idempotent token used to identify the start request. If you use the same token with multiple
StartLabelDetection
requests, the same JobId
is returned. Use
ClientRequestToken
to prevent the same job from being accidently started more than once.
clientRequestToken
- Idempotent token used to identify the start request. If you use the same token with multiple
StartLabelDetection
requests, the same JobId
is returned. Use
ClientRequestToken
to prevent the same job from being accidently started more than once.public String getClientRequestToken()
Idempotent token used to identify the start request. If you use the same token with multiple
StartLabelDetection
requests, the same JobId
is returned. Use
ClientRequestToken
to prevent the same job from being accidently started more than once.
StartLabelDetection
requests, the same JobId
is returned. Use
ClientRequestToken
to prevent the same job from being accidently started more than once.public StartLabelDetectionRequest withClientRequestToken(String clientRequestToken)
Idempotent token used to identify the start request. If you use the same token with multiple
StartLabelDetection
requests, the same JobId
is returned. Use
ClientRequestToken
to prevent the same job from being accidently started more than once.
clientRequestToken
- Idempotent token used to identify the start request. If you use the same token with multiple
StartLabelDetection
requests, the same JobId
is returned. Use
ClientRequestToken
to prevent the same job from being accidently started more than once.public void setMinConfidence(Float minConfidence)
Specifies the minimum confidence that Amazon Rekognition Video must have in order to return a detected label. Confidence represents how certain Amazon Rekognition is that a label is correctly identified.0 is the lowest confidence. 100 is the highest confidence. Amazon Rekognition Video 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 that Amazon Rekognition Video must have in order to return a detected
label. Confidence represents how certain Amazon Rekognition is that a label is correctly identified.0 is
the lowest confidence. 100 is the highest confidence. Amazon Rekognition Video 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 that Amazon Rekognition Video must have in order to return a detected label. Confidence represents how certain Amazon Rekognition is that a label is correctly identified.0 is the lowest confidence. 100 is the highest confidence. Amazon Rekognition Video 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 StartLabelDetectionRequest withMinConfidence(Float minConfidence)
Specifies the minimum confidence that Amazon Rekognition Video must have in order to return a detected label. Confidence represents how certain Amazon Rekognition is that a label is correctly identified.0 is the lowest confidence. 100 is the highest confidence. Amazon Rekognition Video 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 that Amazon Rekognition Video must have in order to return a detected
label. Confidence represents how certain Amazon Rekognition is that a label is correctly identified.0 is
the lowest confidence. 100 is the highest confidence. Amazon Rekognition Video 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 setNotificationChannel(NotificationChannel notificationChannel)
The Amazon SNS topic ARN you want Amazon Rekognition Video to publish the completion status of the label detection operation to. The Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy.
notificationChannel
- The Amazon SNS topic ARN you want Amazon Rekognition Video to publish the completion status of the label
detection operation to. The Amazon SNS topic must have a topic name that begins with
AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy.public NotificationChannel getNotificationChannel()
The Amazon SNS topic ARN you want Amazon Rekognition Video to publish the completion status of the label detection operation to. The Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy.
public StartLabelDetectionRequest withNotificationChannel(NotificationChannel notificationChannel)
The Amazon SNS topic ARN you want Amazon Rekognition Video to publish the completion status of the label detection operation to. The Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy.
notificationChannel
- The Amazon SNS topic ARN you want Amazon Rekognition Video to publish the completion status of the label
detection operation to. The Amazon SNS topic must have a topic name that begins with
AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy.public void setJobTag(String jobTag)
An identifier you specify that's returned in the completion notification that's published to your Amazon Simple
Notification Service topic. For example, you can use JobTag
to group related jobs and identify them
in the completion notification.
jobTag
- An identifier you specify that's returned in the completion notification that's published to your Amazon
Simple Notification Service topic. For example, you can use JobTag
to group related jobs and
identify them in the completion notification.public String getJobTag()
An identifier you specify that's returned in the completion notification that's published to your Amazon Simple
Notification Service topic. For example, you can use JobTag
to group related jobs and identify them
in the completion notification.
JobTag
to group related jobs and
identify them in the completion notification.public StartLabelDetectionRequest withJobTag(String jobTag)
An identifier you specify that's returned in the completion notification that's published to your Amazon Simple
Notification Service topic. For example, you can use JobTag
to group related jobs and identify them
in the completion notification.
jobTag
- An identifier you specify that's returned in the completion notification that's published to your Amazon
Simple Notification Service topic. For example, you can use JobTag
to group related jobs and
identify them in the completion notification.public String toString()
toString
in class Object
Object.toString()
public StartLabelDetectionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()