Class GetPersonTrackingRequest
- 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.GetPersonTrackingRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetPersonTrackingRequest.Builder,GetPersonTrackingRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetPersonTrackingRequest extends RekognitionRequest implements ToCopyableBuilder<GetPersonTrackingRequest.Builder,GetPersonTrackingRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetPersonTrackingRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetPersonTrackingRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringjobId()The identifier for a job that tracks persons in a video.IntegermaxResults()Maximum number of results to return per paginated call.StringnextToken()If the previous response was incomplete (because there are more persons to retrieve), Amazon Rekognition Video returns a pagination token in the response.List<SdkField<?>>sdkFields()static Class<? extends GetPersonTrackingRequest.Builder>serializableBuilderClass()PersonTrackingSortBysortBy()Sort to use for elements in thePersonsarray.StringsortByAsString()Sort to use for elements in thePersonsarray.GetPersonTrackingRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
jobId
public final String jobId()
The identifier for a job that tracks persons in a video. You get the
JobIdfrom a call toStartPersonTracking.- Returns:
- The identifier for a job that tracks persons in a video. You get the
JobIdfrom a call toStartPersonTracking.
-
maxResults
public final Integer 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:
- 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.
-
nextToken
public final String 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:
- 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.
-
sortBy
public final PersonTrackingSortBy 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.If the service returns an enum value that is not available in the current SDK version,
sortBywill returnPersonTrackingSortBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByAsString().- Returns:
- 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. - See Also:
PersonTrackingSortBy
-
sortByAsString
public final String sortByAsString()
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.If the service returns an enum value that is not available in the current SDK version,
sortBywill returnPersonTrackingSortBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByAsString().- Returns:
- 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. - See Also:
PersonTrackingSortBy
-
toBuilder
public GetPersonTrackingRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetPersonTrackingRequest.Builder,GetPersonTrackingRequest>- Specified by:
toBuilderin classRekognitionRequest
-
builder
public static GetPersonTrackingRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetPersonTrackingRequest.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
-
-