Interface GetPersonTrackingResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetPersonTrackingResponse.Builder,GetPersonTrackingResponse>,RekognitionResponse.Builder,SdkBuilder<GetPersonTrackingResponse.Builder,GetPersonTrackingResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetPersonTrackingResponse
public static interface GetPersonTrackingResponse.Builder extends RekognitionResponse.Builder, SdkPojo, CopyableBuilder<GetPersonTrackingResponse.Builder,GetPersonTrackingResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetPersonTrackingResponse.BuilderjobId(String jobId)Job identifier for the person tracking operation for which you want to obtain results.GetPersonTrackingResponse.BuilderjobStatus(String jobStatus)The current status of the person tracking job.GetPersonTrackingResponse.BuilderjobStatus(VideoJobStatus jobStatus)The current status of the person tracking job.GetPersonTrackingResponse.BuilderjobTag(String jobTag)A job identifier specified in the call to StartCelebrityRecognition and returned in the job completion notification sent to your Amazon Simple Notification Service topic.GetPersonTrackingResponse.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 persons.GetPersonTrackingResponse.Builderpersons(Collection<PersonDetection> persons)An array of the persons detected in the video and the time(s) their path was tracked throughout the video.GetPersonTrackingResponse.Builderpersons(Consumer<PersonDetection.Builder>... persons)An array of the persons detected in the video and the time(s) their path was tracked throughout the video.GetPersonTrackingResponse.Builderpersons(PersonDetection... persons)An array of the persons detected in the video and the time(s) their path was tracked throughout the video.GetPersonTrackingResponse.BuilderstatusMessage(String statusMessage)If the job fails,StatusMessageprovides a descriptive error message.default GetPersonTrackingResponse.Buildervideo(Consumer<Video.Builder> video)Sets the value of the Video property for this object.GetPersonTrackingResponse.Buildervideo(Video video)Sets the value of the Video property for this object.default GetPersonTrackingResponse.BuildervideoMetadata(Consumer<VideoMetadata.Builder> videoMetadata)Information about a video that Amazon Rekognition Video analyzed.GetPersonTrackingResponse.BuildervideoMetadata(VideoMetadata videoMetadata)Information about a video that Amazon Rekognition Video 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
GetPersonTrackingResponse.Builder jobStatus(String jobStatus)
The current status of the person tracking job.
- Parameters:
jobStatus- The current status of the person tracking job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VideoJobStatus,VideoJobStatus
-
jobStatus
GetPersonTrackingResponse.Builder jobStatus(VideoJobStatus jobStatus)
The current status of the person tracking job.
- Parameters:
jobStatus- The current status of the person tracking job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VideoJobStatus,VideoJobStatus
-
statusMessage
GetPersonTrackingResponse.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.
-
videoMetadata
GetPersonTrackingResponse.Builder videoMetadata(VideoMetadata videoMetadata)
Information about a video that Amazon Rekognition Video analyzed.
Videometadatais returned in every page of paginated responses from a Amazon Rekognition Video operation.- Parameters:
videoMetadata- Information about a video that Amazon Rekognition Video 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 GetPersonTrackingResponse.Builder videoMetadata(Consumer<VideoMetadata.Builder> videoMetadata)
Information about a video that Amazon Rekognition Video 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)
-
nextToken
GetPersonTrackingResponse.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 persons.
- 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 persons.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
persons
GetPersonTrackingResponse.Builder persons(Collection<PersonDetection> persons)
An array of the persons detected in the video and the time(s) their path was tracked throughout the video. An array element will exist for each time a person's path is tracked.
- Parameters:
persons- An array of the persons detected in the video and the time(s) their path was tracked throughout the video. An array element will exist for each time a person's path is tracked.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
persons
GetPersonTrackingResponse.Builder persons(PersonDetection... persons)
An array of the persons detected in the video and the time(s) their path was tracked throughout the video. An array element will exist for each time a person's path is tracked.
- Parameters:
persons- An array of the persons detected in the video and the time(s) their path was tracked throughout the video. An array element will exist for each time a person's path is tracked.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
persons
GetPersonTrackingResponse.Builder persons(Consumer<PersonDetection.Builder>... persons)
An array of the persons detected in the video and the time(s) their path was tracked throughout the video. An array element will exist for each time a person's path is tracked.
This is a convenience method that creates an instance of thePersonDetection.Builderavoiding the need to create one manually viaPersonDetection.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 onPersonDetection.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#persons(java.util.Collection)
-
jobId
GetPersonTrackingResponse.Builder jobId(String jobId)
Job identifier for the person tracking operation for which you want to obtain results. The job identifer is returned by an initial call to StartPersonTracking.
- Parameters:
jobId- Job identifier for the person tracking operation for which you want to obtain results. The job identifer is returned by an initial call to StartPersonTracking.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
video
GetPersonTrackingResponse.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 GetPersonTrackingResponse.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
GetPersonTrackingResponse.Builder jobTag(String jobTag)
A job identifier specified in the call to StartCelebrityRecognition 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 StartCelebrityRecognition 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.
-
-