Class StartFaceSearchRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.rekognition.model.RekognitionRequest
-
- software.amazon.awssdk.services.rekognition.model.StartFaceSearchRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<StartFaceSearchRequest.Builder,StartFaceSearchRequest>
@Generated("software.amazon.awssdk:codegen") public final class StartFaceSearchRequest extends RekognitionRequest implements ToCopyableBuilder<StartFaceSearchRequest.Builder,StartFaceSearchRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStartFaceSearchRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StartFaceSearchRequest.Builderbuilder()StringclientRequestToken()Idempotent token used to identify the start request.StringcollectionId()ID of the collection that contains the faces you want to search for.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)FloatfaceMatchThreshold()The minimum confidence in the person match to return.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringjobTag()An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic.NotificationChannelnotificationChannel()The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the search.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends StartFaceSearchRequest.Builder>serializableBuilderClass()StartFaceSearchRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.Videovideo()The video you want to search.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
video
public final Video video()
The video you want to search. The video must be stored in an Amazon S3 bucket.
- Returns:
- The video you want to search. The video must be stored in an Amazon S3 bucket.
-
clientRequestToken
public final String clientRequestToken()
Idempotent token used to identify the start request. If you use the same token with multiple
StartFaceSearchrequests, the sameJobIdis returned. UseClientRequestTokento prevent the same job from being accidently started more than once.- Returns:
- Idempotent token used to identify the start request. If you use the same token with multiple
StartFaceSearchrequests, the sameJobIdis returned. UseClientRequestTokento prevent the same job from being accidently started more than once.
-
faceMatchThreshold
public final Float faceMatchThreshold()
The minimum confidence in the person match to return. For example, don't return any matches where confidence in matches is less than 70%. The default value is 80%.
- Returns:
- The minimum confidence in the person match to return. For example, don't return any matches where confidence in matches is less than 70%. The default value is 80%.
-
collectionId
public final String collectionId()
ID of the collection that contains the faces you want to search for.
- Returns:
- ID of the collection that contains the faces you want to search for.
-
notificationChannel
public final NotificationChannel notificationChannel()
The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the search. The Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy to access the topic.
- Returns:
- The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the search. The Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy to access the topic.
-
jobTag
public final 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
JobTagto group related jobs and identify them in the completion notification.- Returns:
- 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
JobTagto group related jobs and identify them in the completion notification.
-
toBuilder
public StartFaceSearchRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StartFaceSearchRequest.Builder,StartFaceSearchRequest>- Specified by:
toBuilderin classRekognitionRequest
-
builder
public static StartFaceSearchRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends StartFaceSearchRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-