Interface AssociateFacesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AssociateFacesRequest.Builder,AssociateFacesRequest>,RekognitionRequest.Builder,SdkBuilder<AssociateFacesRequest.Builder,AssociateFacesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- AssociateFacesRequest
public static interface AssociateFacesRequest.Builder extends RekognitionRequest.Builder, SdkPojo, CopyableBuilder<AssociateFacesRequest.Builder,AssociateFacesRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssociateFacesRequest.BuilderclientRequestToken(String clientRequestToken)Idempotent token used to identify the request toAssociateFaces.AssociateFacesRequest.BuildercollectionId(String collectionId)The ID of an existing collection containing the UserID.AssociateFacesRequest.BuilderfaceIds(String... faceIds)An array of FaceIDs to associate with the UserID.AssociateFacesRequest.BuilderfaceIds(Collection<String> faceIds)An array of FaceIDs to associate with the UserID.AssociateFacesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)AssociateFacesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)AssociateFacesRequest.BuilderuserId(String userId)The ID for the existing UserID.AssociateFacesRequest.BuilderuserMatchThreshold(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, sdkFields
-
-
-
-
Method Detail
-
collectionId
AssociateFacesRequest.Builder collectionId(String 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
AssociateFacesRequest.Builder userId(String 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
AssociateFacesRequest.Builder faceIds(Collection<String> 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
AssociateFacesRequest.Builder faceIds(String... 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
AssociateFacesRequest.Builder userMatchThreshold(Float 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
AssociateFacesRequest.Builder clientRequestToken(String clientRequestToken)
Idempotent token used to identify the request to
AssociateFaces. If you use the same token with multipleAssociateFacesrequests, 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 multipleAssociateFacesrequests, 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AssociateFacesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-