Interface GetFaceSearchResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetFaceSearchResponse.Builder,GetFaceSearchResponse>,RekognitionResponse.Builder,SdkBuilder<GetFaceSearchResponse.Builder,GetFaceSearchResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetFaceSearchResponse
public static interface GetFaceSearchResponse.Builder extends RekognitionResponse.Builder, SdkPojo, CopyableBuilder<GetFaceSearchResponse.Builder,GetFaceSearchResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetFaceSearchResponse.BuilderjobId(String jobId)Job identifier for the face search operation for which you want to obtain results.GetFaceSearchResponse.BuilderjobStatus(String jobStatus)The current status of the face search job.GetFaceSearchResponse.BuilderjobStatus(VideoJobStatus jobStatus)The current status of the face search job.GetFaceSearchResponse.BuilderjobTag(String jobTag)A job identifier specified in the call to StartFaceSearch and returned in the job completion notification sent to your Amazon Simple Notification Service topic.GetFaceSearchResponse.BuildernextToken(String nextToken)If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of search results.GetFaceSearchResponse.Builderpersons(Collection<PersonMatch> persons)An array of persons, PersonMatch, in the video whose face(s) match the face(s) in an Amazon Rekognition collection.GetFaceSearchResponse.Builderpersons(Consumer<PersonMatch.Builder>... persons)An array of persons, PersonMatch, in the video whose face(s) match the face(s) in an Amazon Rekognition collection.GetFaceSearchResponse.Builderpersons(PersonMatch... persons)An array of persons, PersonMatch, in the video whose face(s) match the face(s) in an Amazon Rekognition collection.GetFaceSearchResponse.BuilderstatusMessage(String statusMessage)If the job fails,StatusMessageprovides a descriptive error message.default GetFaceSearchResponse.Buildervideo(Consumer<Video.Builder> video)Sets the value of the Video property for this object.GetFaceSearchResponse.Buildervideo(Video video)Sets the value of the Video property for this object.default GetFaceSearchResponse.BuildervideoMetadata(Consumer<VideoMetadata.Builder> videoMetadata)Information about a video that Amazon Rekognition analyzed.GetFaceSearchResponse.BuildervideoMetadata(VideoMetadata videoMetadata)Information about a video that Amazon Rekognition analyzed.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.rekognition.model.RekognitionResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
jobStatus
GetFaceSearchResponse.Builder jobStatus(String jobStatus)
The current status of the face search job.
- Parameters:
jobStatus- The current status of the face search job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VideoJobStatus,VideoJobStatus
-
jobStatus
GetFaceSearchResponse.Builder jobStatus(VideoJobStatus jobStatus)
The current status of the face search job.
- Parameters:
jobStatus- The current status of the face search job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VideoJobStatus,VideoJobStatus
-
statusMessage
GetFaceSearchResponse.Builder statusMessage(String statusMessage)
If the job fails,
StatusMessageprovides a descriptive error message.- Parameters:
statusMessage- If the job fails,StatusMessageprovides a descriptive error message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
GetFaceSearchResponse.Builder nextToken(String nextToken)
If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of search results.
- Parameters:
nextToken- If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of search results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
videoMetadata
GetFaceSearchResponse.Builder videoMetadata(VideoMetadata videoMetadata)
Information about a video that Amazon Rekognition analyzed.
Videometadatais returned in every page of paginated responses from a Amazon Rekognition Video operation.- Parameters:
videoMetadata- Information about a video that Amazon Rekognition analyzed.Videometadatais returned in every page of paginated responses from a Amazon Rekognition Video operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
videoMetadata
default GetFaceSearchResponse.Builder videoMetadata(Consumer<VideoMetadata.Builder> videoMetadata)
Information about a video that Amazon Rekognition analyzed.
This is a convenience method that creates an instance of theVideometadatais returned in every page of paginated responses from a Amazon Rekognition Video operation.VideoMetadata.Builderavoiding the need to create one manually viaVideoMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovideoMetadata(VideoMetadata).- Parameters:
videoMetadata- a consumer that will call methods onVideoMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
videoMetadata(VideoMetadata)
-
persons
GetFaceSearchResponse.Builder persons(Collection<PersonMatch> persons)
An array of persons, PersonMatch, in the video whose face(s) match the face(s) in an Amazon Rekognition collection. It also includes time information for when persons are matched in the video. You specify the input collection in an initial call to
StartFaceSearch. EachPersonselement includes a time the person was matched, face match details (FaceMatches) for matching faces in the collection, and person information (Person) for the matched person.- Parameters:
persons- An array of persons, PersonMatch, in the video whose face(s) match the face(s) in an Amazon Rekognition collection. It also includes time information for when persons are matched in the video. You specify the input collection in an initial call toStartFaceSearch. EachPersonselement includes a time the person was matched, face match details (FaceMatches) for matching faces in the collection, and person information (Person) for the matched person.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
persons
GetFaceSearchResponse.Builder persons(PersonMatch... persons)
An array of persons, PersonMatch, in the video whose face(s) match the face(s) in an Amazon Rekognition collection. It also includes time information for when persons are matched in the video. You specify the input collection in an initial call to
StartFaceSearch. EachPersonselement includes a time the person was matched, face match details (FaceMatches) for matching faces in the collection, and person information (Person) for the matched person.- Parameters:
persons- An array of persons, PersonMatch, in the video whose face(s) match the face(s) in an Amazon Rekognition collection. It also includes time information for when persons are matched in the video. You specify the input collection in an initial call toStartFaceSearch. EachPersonselement includes a time the person was matched, face match details (FaceMatches) for matching faces in the collection, and person information (Person) for the matched person.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
persons
GetFaceSearchResponse.Builder persons(Consumer<PersonMatch.Builder>... persons)
An array of persons, PersonMatch, in the video whose face(s) match the face(s) in an Amazon Rekognition collection. It also includes time information for when persons are matched in the video. You specify the input collection in an initial call to
This is a convenience method that creates an instance of theStartFaceSearch. EachPersonselement includes a time the person was matched, face match details (FaceMatches) for matching faces in the collection, and person information (Person) for the matched person.PersonMatch.Builderavoiding the need to create one manually viaPersonMatch.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#persons(List.) - Parameters:
persons- a consumer that will call methods onPersonMatch.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#persons(java.util.Collection)
-
jobId
GetFaceSearchResponse.Builder jobId(String jobId)
Job identifier for the face search operation for which you want to obtain results. The job identifer is returned by an initial call to StartFaceSearch.
- Parameters:
jobId- Job identifier for the face search operation for which you want to obtain results. The job identifer is returned by an initial call to StartFaceSearch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
video
GetFaceSearchResponse.Builder video(Video video)
Sets the value of the Video property for this object.- Parameters:
video- The new value for the Video property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
video
default GetFaceSearchResponse.Builder video(Consumer<Video.Builder> video)
Sets the value of the Video property for this object. 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)
-
jobTag
GetFaceSearchResponse.Builder jobTag(String jobTag)
A job identifier specified in the call to StartFaceSearch and returned in the job completion notification sent to your Amazon Simple Notification Service topic.
- Parameters:
jobTag- A job identifier specified in the call to StartFaceSearch and returned in the job completion notification sent to your Amazon Simple Notification Service topic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-