Class GetFaceSearchRequest
- 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.GetFaceSearchRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetFaceSearchRequest.Builder,GetFaceSearchRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetFaceSearchRequest extends RekognitionRequest implements ToCopyableBuilder<GetFaceSearchRequest.Builder,GetFaceSearchRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetFaceSearchRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetFaceSearchRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringjobId()The job identifer for the search request.IntegermaxResults()Maximum number of results to return per paginated call.StringnextToken()If the previous response was incomplete (because there is more search results to retrieve), Amazon Rekognition Video returns a pagination token in the response.List<SdkField<?>>sdkFields()static Class<? extends GetFaceSearchRequest.Builder>serializableBuilderClass()FaceSearchSortBysortBy()Sort to use for grouping faces in the response.StringsortByAsString()Sort to use for grouping faces in the response.GetFaceSearchRequest.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 job identifer for the search request. You get the job identifier from an initial call to
StartFaceSearch.- Returns:
- The job identifer for the search request. You get the job identifier from an initial call to
StartFaceSearch.
-
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 is more search results to retrieve), Amazon Rekognition Video returns a pagination token in the response. You can use this pagination token to retrieve the next set of search results.
- Returns:
- If the previous response was incomplete (because there is more search results to retrieve), Amazon Rekognition Video returns a pagination token in the response. You can use this pagination token to retrieve the next set of search results.
-
sortBy
public final FaceSearchSortBy sortBy()
Sort to use for grouping faces in the response. Use
TIMESTAMPto group faces by the time that they are recognized. UseINDEXto sort by recognized faces.If the service returns an enum value that is not available in the current SDK version,
sortBywill returnFaceSearchSortBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByAsString().- Returns:
- Sort to use for grouping faces in the response. Use
TIMESTAMPto group faces by the time that they are recognized. UseINDEXto sort by recognized faces. - See Also:
FaceSearchSortBy
-
sortByAsString
public final String sortByAsString()
Sort to use for grouping faces in the response. Use
TIMESTAMPto group faces by the time that they are recognized. UseINDEXto sort by recognized faces.If the service returns an enum value that is not available in the current SDK version,
sortBywill returnFaceSearchSortBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByAsString().- Returns:
- Sort to use for grouping faces in the response. Use
TIMESTAMPto group faces by the time that they are recognized. UseINDEXto sort by recognized faces. - See Also:
FaceSearchSortBy
-
toBuilder
public GetFaceSearchRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetFaceSearchRequest.Builder,GetFaceSearchRequest>- Specified by:
toBuilderin classRekognitionRequest
-
builder
public static GetFaceSearchRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetFaceSearchRequest.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
-
-