Interface AssociateFacesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AssociateFacesRequest.Builder,
,AssociateFacesRequest> RekognitionRequest.Builder
,SdkBuilder<AssociateFacesRequest.Builder,
,AssociateFacesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AssociateFacesRequest
@Mutable
@NotThreadSafe
public static interface AssociateFacesRequest.Builder
extends RekognitionRequest.Builder, SdkPojo, CopyableBuilder<AssociateFacesRequest.Builder,AssociateFacesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken
(String clientRequestToken) Idempotent token used to identify the request toAssociateFaces
.collectionId
(String collectionId) The ID of an existing collection containing the UserID.An array of FaceIDs to associate with the UserID.faceIds
(Collection<String> faceIds) An array of FaceIDs to associate with the UserID.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The ID for the existing UserID.userMatchThreshold
(Float userMatchThreshold) An optional value specifying the minimum confidence in the UserID match to return.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.rekognition.model.RekognitionRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.
-
userId
The ID for the existing UserID.
- Parameters:
userId
- The ID for the existing UserID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
faceIds
An array of FaceIDs to associate with the UserID.
- Parameters:
faceIds
- An array of FaceIDs to associate with the UserID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
faceIds
An array of FaceIDs to associate with the UserID.
- Parameters:
faceIds
- An array of FaceIDs to associate with the UserID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userMatchThreshold
An optional value specifying the minimum confidence in the UserID match to return. The default value is 75.
- Parameters:
userMatchThreshold
- An optional value specifying the minimum confidence in the UserID match to return. The default value is 75.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientRequestToken
Idempotent token used to identify the request to
AssociateFaces
. If you use the same token with multipleAssociateFaces
requests, the same response is returned. Use ClientRequestToken to prevent the same request from being processed more than once.- Parameters:
clientRequestToken
- Idempotent token used to identify the request toAssociateFaces
. If you use the same token with multipleAssociateFaces
requests, the same response is returned. Use ClientRequestToken to prevent the same request from being processed more than once.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AssociateFacesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AssociateFacesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-