Interface StartFaceSearchRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartFaceSearchRequest.Builder,StartFaceSearchRequest>,RekognitionRequest.Builder,SdkBuilder<StartFaceSearchRequest.Builder,StartFaceSearchRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- StartFaceSearchRequest
public static interface StartFaceSearchRequest.Builder extends RekognitionRequest.Builder, SdkPojo, CopyableBuilder<StartFaceSearchRequest.Builder,StartFaceSearchRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StartFaceSearchRequest.BuilderclientRequestToken(String clientRequestToken)Idempotent token used to identify the start request.StartFaceSearchRequest.BuildercollectionId(String collectionId)ID of the collection that contains the faces you want to search for.StartFaceSearchRequest.BuilderfaceMatchThreshold(Float faceMatchThreshold)The minimum confidence in the person match to return.StartFaceSearchRequest.BuilderjobTag(String jobTag)An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic.default StartFaceSearchRequest.BuildernotificationChannel(Consumer<NotificationChannel.Builder> notificationChannel)The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the search.StartFaceSearchRequest.BuildernotificationChannel(NotificationChannel notificationChannel)The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the search.StartFaceSearchRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)StartFaceSearchRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default StartFaceSearchRequest.Buildervideo(Consumer<Video.Builder> video)The video you want to search.StartFaceSearchRequest.Buildervideo(Video video)The video you want to search.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.rekognition.model.RekognitionRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
video
StartFaceSearchRequest.Builder video(Video video)
The video you want to search. The video must be stored in an Amazon S3 bucket.
- Parameters:
video- The video you want to search. The video must be stored in an Amazon S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
video
default StartFaceSearchRequest.Builder video(Consumer<Video.Builder> video)
The video you want to search. The video must be stored in an Amazon S3 bucket.
This is a convenience method that creates an instance of theVideo.Builderavoiding the need to create one manually viaVideo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovideo(Video).- Parameters:
video- a consumer that will call methods onVideo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
video(Video)
-
clientRequestToken
StartFaceSearchRequest.Builder clientRequestToken(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.- Parameters:
clientRequestToken- Idempotent token used to identify the start request. If you use the same token with multipleStartFaceSearchrequests, the sameJobIdis returned. UseClientRequestTokento prevent the same job from being accidently started more than once.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
faceMatchThreshold
StartFaceSearchRequest.Builder faceMatchThreshold(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%.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
collectionId
StartFaceSearchRequest.Builder collectionId(String collectionId)
ID of the collection that contains the faces you want to search for.
- Parameters:
collectionId- ID of the collection that contains the faces you want to search for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationChannel
StartFaceSearchRequest.Builder notificationChannel(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
notificationChannel
default StartFaceSearchRequest.Builder notificationChannel(Consumer<NotificationChannel.Builder> 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.
This is a convenience method that creates an instance of theNotificationChannel.Builderavoiding the need to create one manually viaNotificationChannel.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonotificationChannel(NotificationChannel).- Parameters:
notificationChannel- a consumer that will call methods onNotificationChannel.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
notificationChannel(NotificationChannel)
-
jobTag
StartFaceSearchRequest.Builder jobTag(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.- Parameters:
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 useJobTagto group related jobs and identify them in the completion notification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartFaceSearchRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartFaceSearchRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-