Interface ListFacesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListFacesRequest.Builder,,ListFacesRequest> RekognitionRequest.Builder,SdkBuilder<ListFacesRequest.Builder,,ListFacesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListFacesRequest
public static interface ListFacesRequest.Builder
extends RekognitionRequest.Builder, SdkPojo, CopyableBuilder<ListFacesRequest.Builder,ListFacesRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncollectionId(String collectionId) ID of the collection from which to list the faces.An array of face IDs to filter results with when listing faces in a collection.faceIds(Collection<String> faceIds) An array of face IDs to filter results with when listing faces in a collection.maxResults(Integer maxResults) Maximum number of faces to return.If the previous response was incomplete (because there is more data to retrieve), Amazon Rekognition 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.An array of user IDs to filter results with when listing faces in a collection.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
-
collectionId
ID of the collection from which to list the faces.
- Parameters:
collectionId- ID of the collection from which to list the faces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
If the previous response was incomplete (because there is more data to retrieve), Amazon Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of faces.
- Parameters:
nextToken- If the previous response was incomplete (because there is more data to retrieve), Amazon Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of faces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
Maximum number of faces to return.
- Parameters:
maxResults- Maximum number of faces to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userId
An array of user IDs to filter results with when listing faces in a collection.
- Parameters:
userId- An array of user IDs to filter results with when listing faces in a collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
faceIds
An array of face IDs to filter results with when listing faces in a collection.
- Parameters:
faceIds- An array of face IDs to filter results with when listing faces in a collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
faceIds
An array of face IDs to filter results with when listing faces in a collection.
- Parameters:
faceIds- An array of face IDs to filter results with when listing faces in a collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListFacesRequest.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
ListFacesRequest.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.
-