@Generated(value="software.amazon.awssdk:codegen") public final class StartLabelDetectionRequest extends RekognitionRequest implements ToCopyableBuilder<StartLabelDetectionRequest.Builder,StartLabelDetectionRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
StartLabelDetectionRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static StartLabelDetectionRequest.Builder |
builder() |
String |
clientRequestToken()
Idempotent token used to identify the start request.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
jobTag()
Unique identifier you specify to identify the job in the completion status published to the Amazon Simple
Notification Service topic.
|
Float |
minConfidence()
Specifies the minimum confidence that Amazon Rekognition Video must have in order to return a detected label.
|
NotificationChannel |
notificationChannel()
The Amazon SNS topic ARN you want Amazon Rekognition Video to publish the completion status of the label
detection operation to.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends StartLabelDetectionRequest.Builder> |
serializableBuilderClass() |
StartLabelDetectionRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Video |
video()
The video in which you want to detect labels.
|
overrideConfiguration
copy
public Video video()
The video in which you want to detect labels. The video must be stored in an Amazon S3 bucket.
public 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.
StartLabelDetection
requests, the same JobId
is returned. Use
ClientRequestToken
to prevent the same job from being accidently started more than once.public 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.
If you don't specify MinConfidence
, the operation returns labels with confidence values
greater than or equal to 50 percent.
public NotificationChannel notificationChannel()
The Amazon SNS topic ARN you want Amazon Rekognition Video to publish the completion status of the label detection operation to.
public String jobTag()
Unique identifier you specify to identify the job in the completion status published to the Amazon Simple Notification Service topic.
public StartLabelDetectionRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<StartLabelDetectionRequest.Builder,StartLabelDetectionRequest>
toBuilder
in class RekognitionRequest
public static StartLabelDetectionRequest.Builder builder()
public static Class<? extends StartLabelDetectionRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.