Interface SearchUsersByImageRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SearchUsersByImageRequest.Builder,,SearchUsersByImageRequest> RekognitionRequest.Builder,SdkBuilder<SearchUsersByImageRequest.Builder,,SearchUsersByImageRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
SearchUsersByImageRequest
public static interface SearchUsersByImageRequest.Builder
extends RekognitionRequest.Builder, SdkPojo, CopyableBuilder<SearchUsersByImageRequest.Builder,SearchUsersByImageRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncollectionId(String collectionId) The ID of an existing collection containing the UserID.image(Consumer<Image.Builder> image) Sets the value of the Image property for this object.Sets the value of the Image property for this object.Maximum number of UserIDs to return.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.qualityFilter(String qualityFilter) A filter that specifies a quality bar for how much filtering is done to identify faces.qualityFilter(QualityFilter qualityFilter) A filter that specifies a quality bar for how much filtering is done to identify faces.userMatchThreshold(Float userMatchThreshold) Specifies the minimum confidence in the UserID match to return.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
The ID of an existing collection containing the UserID.
- Parameters:
collectionId- The ID of an existing collection containing the UserID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
image
Sets the value of the Image property for this object.- Parameters:
image- The new value for the Image property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
image
Sets the value of the Image property for this object. This is a convenience method that creates an instance of theImage.Builderavoiding the need to create one manually viaImage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toimage(Image).- Parameters:
image- a consumer that will call methods onImage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
userMatchThreshold
Specifies the minimum confidence in the UserID match to return. Default value is 80.
- Parameters:
userMatchThreshold- Specifies the minimum confidence in the UserID match to return. Default value is 80.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxUsers
Maximum number of UserIDs to return.
- Parameters:
maxUsers- Maximum number of UserIDs to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
qualityFilter
A filter that specifies a quality bar for how much filtering is done to identify faces. Filtered faces aren't searched for in the collection. The default value is NONE.
- Parameters:
qualityFilter- A filter that specifies a quality bar for how much filtering is done to identify faces. Filtered faces aren't searched for in the collection. The default value is NONE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
qualityFilter
A filter that specifies a quality bar for how much filtering is done to identify faces. Filtered faces aren't searched for in the collection. The default value is NONE.
- Parameters:
qualityFilter- A filter that specifies a quality bar for how much filtering is done to identify faces. Filtered faces aren't searched for in the collection. The default value is NONE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
SearchUsersByImageRequest.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
SearchUsersByImageRequest.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.
-