@Generated(value="software.amazon.awssdk:codegen") public final class StartCelebrityRecognitionRequest extends RekognitionRequest implements ToCopyableBuilder<StartCelebrityRecognitionRequest.Builder,StartCelebrityRecognitionRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
StartCelebrityRecognitionRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static StartCelebrityRecognitionRequest.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.
|
NotificationChannel |
notificationChannel()
The Amazon SNS topic ARN that you want Amazon Rekognition Video to publish the completion status of the celebrity
recognition analysis to.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends StartCelebrityRecognitionRequest.Builder> |
serializableBuilderClass() |
StartCelebrityRecognitionRequest.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 recognize celebrities.
|
overrideConfiguration
copy
public Video video()
The video in which you want to recognize celebrities. 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
StartCelebrityRecognition
requests, the same JobId
is returned. Use
ClientRequestToken
to prevent the same job from being accidently started more than once.
StartCelebrityRecognition
requests, the same JobId
is returned. Use
ClientRequestToken
to prevent the same job from being accidently started more than once.public NotificationChannel notificationChannel()
The Amazon SNS topic ARN that you want Amazon Rekognition Video to publish the completion status of the celebrity recognition analysis 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 StartCelebrityRecognitionRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<StartCelebrityRecognitionRequest.Builder,StartCelebrityRecognitionRequest>
toBuilder
in class RekognitionRequest
public static StartCelebrityRecognitionRequest.Builder builder()
public static Class<? extends StartCelebrityRecognitionRequest.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.