Interface GetPersonTrackingRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetPersonTrackingRequest.Builder,,GetPersonTrackingRequest> RekognitionRequest.Builder,SdkBuilder<GetPersonTrackingRequest.Builder,,GetPersonTrackingRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetPersonTrackingRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier for a job that tracks persons in a video.maxResults(Integer maxResults) Maximum number of results to return per paginated call.If the previous response was incomplete (because there are more persons to retrieve), Amazon Rekognition Video returns a pagination token in the response.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Sort to use for elements in thePersonsarray.sortBy(PersonTrackingSortBy sortBy) Sort to use for elements in thePersonsarray.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rekognition.model.RekognitionRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
jobId
The identifier for a job that tracks persons in a video. You get the
JobIdfrom a call toStartPersonTracking.- Parameters:
jobId- The identifier for a job that tracks persons in a video. You get theJobIdfrom a call toStartPersonTracking.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
Maximum number of results to return per paginated call. The largest value you can specify is 1000. If you specify a value greater than 1000, a maximum of 1000 results is returned. The default value is 1000.
- Parameters:
maxResults- Maximum number of results to return per paginated call. The largest value you can specify is 1000. If you specify a value greater than 1000, a maximum of 1000 results is returned. The default value is 1000.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
If the previous response was incomplete (because there are more persons to retrieve), Amazon Rekognition Video returns a pagination token in the response. You can use this pagination token to retrieve the next set of persons.
- Parameters:
nextToken- If the previous response was incomplete (because there are more persons to retrieve), Amazon Rekognition Video returns a pagination token in the response. You can use this pagination token to retrieve the next set of persons.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
Sort to use for elements in the
Personsarray. UseTIMESTAMPto sort array elements by the time persons are detected. UseINDEXto sort by the tracked persons. If you sort byINDEX, the array elements for each person are sorted by detection confidence. The default sort is byTIMESTAMP.- Parameters:
sortBy- Sort to use for elements in thePersonsarray. UseTIMESTAMPto sort array elements by the time persons are detected. UseINDEXto sort by the tracked persons. If you sort byINDEX, the array elements for each person are sorted by detection confidence. The default sort is byTIMESTAMP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortBy
Sort to use for elements in the
Personsarray. UseTIMESTAMPto sort array elements by the time persons are detected. UseINDEXto sort by the tracked persons. If you sort byINDEX, the array elements for each person are sorted by detection confidence. The default sort is byTIMESTAMP.- Parameters:
sortBy- Sort to use for elements in thePersonsarray. UseTIMESTAMPto sort array elements by the time persons are detected. UseINDEXto sort by the tracked persons. If you sort byINDEX, the array elements for each person are sorted by detection confidence. The default sort is byTIMESTAMP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
GetPersonTrackingRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetPersonTrackingRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-