@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateFacesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AssociateFacesRequest() |
Modifier and Type | Method and Description |
---|---|
AssociateFacesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientRequestToken()
Idempotent token used to identify the request to
AssociateFaces . |
String |
getCollectionId()
The ID of an existing collection containing the UserID.
|
List<String> |
getFaceIds()
An array of FaceIDs to associate with the UserID.
|
String |
getUserId()
The ID for the existing UserID.
|
Float |
getUserMatchThreshold()
An optional value specifying the minimum confidence in the UserID match to return.
|
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken)
Idempotent token used to identify the request to
AssociateFaces . |
void |
setCollectionId(String collectionId)
The ID of an existing collection containing the UserID.
|
void |
setFaceIds(Collection<String> faceIds)
An array of FaceIDs to associate with the UserID.
|
void |
setUserId(String userId)
The ID for the existing UserID.
|
void |
setUserMatchThreshold(Float userMatchThreshold)
An optional value specifying the minimum confidence in the UserID match to return.
|
String |
toString()
Returns a string representation of this object.
|
AssociateFacesRequest |
withClientRequestToken(String clientRequestToken)
Idempotent token used to identify the request to
AssociateFaces . |
AssociateFacesRequest |
withCollectionId(String collectionId)
The ID of an existing collection containing the UserID.
|
AssociateFacesRequest |
withFaceIds(Collection<String> faceIds)
An array of FaceIDs to associate with the UserID.
|
AssociateFacesRequest |
withFaceIds(String... faceIds)
An array of FaceIDs to associate with the UserID.
|
AssociateFacesRequest |
withUserId(String userId)
The ID for the existing UserID.
|
AssociateFacesRequest |
withUserMatchThreshold(Float userMatchThreshold)
An optional value specifying the minimum confidence in the UserID match to return.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setCollectionId(String collectionId)
The ID of an existing collection containing the UserID.
collectionId
- The ID of an existing collection containing the UserID.public String getCollectionId()
The ID of an existing collection containing the UserID.
public AssociateFacesRequest withCollectionId(String collectionId)
The ID of an existing collection containing the UserID.
collectionId
- The ID of an existing collection containing the UserID.public void setUserId(String userId)
The ID for the existing UserID.
userId
- The ID for the existing UserID.public String getUserId()
The ID for the existing UserID.
public AssociateFacesRequest withUserId(String userId)
The ID for the existing UserID.
userId
- The ID for the existing UserID.public List<String> getFaceIds()
An array of FaceIDs to associate with the UserID.
public void setFaceIds(Collection<String> faceIds)
An array of FaceIDs to associate with the UserID.
faceIds
- An array of FaceIDs to associate with the UserID.public AssociateFacesRequest withFaceIds(String... faceIds)
An array of FaceIDs to associate with the UserID.
NOTE: This method appends the values to the existing list (if any). Use
setFaceIds(java.util.Collection)
or withFaceIds(java.util.Collection)
if you want to override
the existing values.
faceIds
- An array of FaceIDs to associate with the UserID.public AssociateFacesRequest withFaceIds(Collection<String> faceIds)
An array of FaceIDs to associate with the UserID.
faceIds
- An array of FaceIDs to associate with the UserID.public void setUserMatchThreshold(Float userMatchThreshold)
An optional value specifying the minimum confidence in the UserID match to return. The default value is 75.
userMatchThreshold
- An optional value specifying the minimum confidence in the UserID match to return. The default value is
75.public Float getUserMatchThreshold()
An optional value specifying the minimum confidence in the UserID match to return. The default value is 75.
public AssociateFacesRequest withUserMatchThreshold(Float userMatchThreshold)
An optional value specifying the minimum confidence in the UserID match to return. The default value is 75.
userMatchThreshold
- An optional value specifying the minimum confidence in the UserID match to return. The default value is
75.public void setClientRequestToken(String clientRequestToken)
Idempotent token used to identify the request to AssociateFaces
. If you use the same token with
multiple AssociateFaces
requests, the same response is returned. Use ClientRequestToken to prevent
the same request from being processed more than once.
clientRequestToken
- Idempotent token used to identify the request to AssociateFaces
. If you use the same token
with multiple AssociateFaces
requests, the same response is returned. Use ClientRequestToken
to prevent the same request from being processed more than once.public String getClientRequestToken()
Idempotent token used to identify the request to AssociateFaces
. If you use the same token with
multiple AssociateFaces
requests, the same response is returned. Use ClientRequestToken to prevent
the same request from being processed more than once.
AssociateFaces
. If you use the same token
with multiple AssociateFaces
requests, the same response is returned. Use ClientRequestToken
to prevent the same request from being processed more than once.public AssociateFacesRequest withClientRequestToken(String clientRequestToken)
Idempotent token used to identify the request to AssociateFaces
. If you use the same token with
multiple AssociateFaces
requests, the same response is returned. Use ClientRequestToken to prevent
the same request from being processed more than once.
clientRequestToken
- Idempotent token used to identify the request to AssociateFaces
. If you use the same token
with multiple AssociateFaces
requests, the same response is returned. Use ClientRequestToken
to prevent the same request from being processed more than once.public String toString()
toString
in class Object
Object.toString()
public AssociateFacesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()