public class IndexFacesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
IndexFacesRequest() |
Modifier and Type | Method and Description |
---|---|
IndexFacesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getCollectionId()
ID of an existing collection to which you want to add the faces that are detected in the input images.
|
List<String> |
getDetectionAttributes()
(Optional) Returns detailed attributes of indexed faces.
|
String |
getExternalImageId()
ID you want to assign to all the faces detected in the image.
|
Image |
getImage() |
int |
hashCode() |
void |
setCollectionId(String collectionId)
ID of an existing collection to which you want to add the faces that are detected in the input images.
|
void |
setDetectionAttributes(Collection<String> detectionAttributes)
(Optional) Returns detailed attributes of indexed faces.
|
void |
setExternalImageId(String externalImageId)
ID you want to assign to all the faces detected in the image.
|
void |
setImage(Image image) |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
IndexFacesRequest |
withCollectionId(String collectionId)
ID of an existing collection to which you want to add the faces that are detected in the input images.
|
IndexFacesRequest |
withDetectionAttributes(Attribute... detectionAttributes)
(Optional) Returns detailed attributes of indexed faces.
|
IndexFacesRequest |
withDetectionAttributes(Collection<String> detectionAttributes)
(Optional) Returns detailed attributes of indexed faces.
|
IndexFacesRequest |
withDetectionAttributes(String... detectionAttributes)
(Optional) Returns detailed attributes of indexed faces.
|
IndexFacesRequest |
withExternalImageId(String externalImageId)
ID you want to assign to all the faces detected in the image.
|
IndexFacesRequest |
withImage(Image image) |
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setCollectionId(String collectionId)
ID of an existing collection to which you want to add the faces that are detected in the input images.
collectionId
- ID of an existing collection to which you want to add the faces that are detected in the input images.public String getCollectionId()
ID of an existing collection to which you want to add the faces that are detected in the input images.
public IndexFacesRequest withCollectionId(String collectionId)
ID of an existing collection to which you want to add the faces that are detected in the input images.
collectionId
- ID of an existing collection to which you want to add the faces that are detected in the input images.public void setImage(Image image)
image
- public Image getImage()
public IndexFacesRequest withImage(Image image)
image
- public void setExternalImageId(String externalImageId)
ID you want to assign to all the faces detected in the image.
externalImageId
- ID you want to assign to all the faces detected in the image.public String getExternalImageId()
ID you want to assign to all the faces detected in the image.
public IndexFacesRequest withExternalImageId(String externalImageId)
ID you want to assign to all the faces detected in the image.
externalImageId
- ID you want to assign to all the faces detected in the image.public List<String> getDetectionAttributes()
(Optional) Returns detailed attributes of indexed faces. By default, the operation returns a subset of the facial attributes.
For example, you can specify the value as, ["ALL"] or ["DEFAULT"]. If you provide both, ["ALL", "DEFAULT"], Rekognition uses the logical AND operator to determine which attributes to return (in this case, it is all attributes). If you specify all attributes, the service performs additional detection, in addition to the default.
For example, you can specify the value as, ["ALL"] or ["DEFAULT"]. If you provide both, ["ALL", "DEFAULT"], Rekognition uses the logical AND operator to determine which attributes to return (in this case, it is all attributes). If you specify all attributes, the service performs additional detection, in addition to the default.
Attribute
public void setDetectionAttributes(Collection<String> detectionAttributes)
(Optional) Returns detailed attributes of indexed faces. By default, the operation returns a subset of the facial attributes.
For example, you can specify the value as, ["ALL"] or ["DEFAULT"]. If you provide both, ["ALL", "DEFAULT"], Rekognition uses the logical AND operator to determine which attributes to return (in this case, it is all attributes). If you specify all attributes, the service performs additional detection, in addition to the default.
detectionAttributes
- (Optional) Returns detailed attributes of indexed faces. By default, the operation returns a subset of the
facial attributes.
For example, you can specify the value as, ["ALL"] or ["DEFAULT"]. If you provide both, ["ALL", "DEFAULT"], Rekognition uses the logical AND operator to determine which attributes to return (in this case, it is all attributes). If you specify all attributes, the service performs additional detection, in addition to the default.
Attribute
public IndexFacesRequest withDetectionAttributes(String... detectionAttributes)
(Optional) Returns detailed attributes of indexed faces. By default, the operation returns a subset of the facial attributes.
For example, you can specify the value as, ["ALL"] or ["DEFAULT"]. If you provide both, ["ALL", "DEFAULT"], Rekognition uses the logical AND operator to determine which attributes to return (in this case, it is all attributes). If you specify all attributes, the service performs additional detection, in addition to the default.
NOTE: This method appends the values to the existing list (if any). Use
setDetectionAttributes(java.util.Collection)
or withDetectionAttributes(java.util.Collection)
if you want to override the existing values.
detectionAttributes
- (Optional) Returns detailed attributes of indexed faces. By default, the operation returns a subset of the
facial attributes.
For example, you can specify the value as, ["ALL"] or ["DEFAULT"]. If you provide both, ["ALL", "DEFAULT"], Rekognition uses the logical AND operator to determine which attributes to return (in this case, it is all attributes). If you specify all attributes, the service performs additional detection, in addition to the default.
Attribute
public IndexFacesRequest withDetectionAttributes(Collection<String> detectionAttributes)
(Optional) Returns detailed attributes of indexed faces. By default, the operation returns a subset of the facial attributes.
For example, you can specify the value as, ["ALL"] or ["DEFAULT"]. If you provide both, ["ALL", "DEFAULT"], Rekognition uses the logical AND operator to determine which attributes to return (in this case, it is all attributes). If you specify all attributes, the service performs additional detection, in addition to the default.
detectionAttributes
- (Optional) Returns detailed attributes of indexed faces. By default, the operation returns a subset of the
facial attributes.
For example, you can specify the value as, ["ALL"] or ["DEFAULT"]. If you provide both, ["ALL", "DEFAULT"], Rekognition uses the logical AND operator to determine which attributes to return (in this case, it is all attributes). If you specify all attributes, the service performs additional detection, in addition to the default.
Attribute
public IndexFacesRequest withDetectionAttributes(Attribute... detectionAttributes)
(Optional) Returns detailed attributes of indexed faces. By default, the operation returns a subset of the facial attributes.
For example, you can specify the value as, ["ALL"] or ["DEFAULT"]. If you provide both, ["ALL", "DEFAULT"], Rekognition uses the logical AND operator to determine which attributes to return (in this case, it is all attributes). If you specify all attributes, the service performs additional detection, in addition to the default.
detectionAttributes
- (Optional) Returns detailed attributes of indexed faces. By default, the operation returns a subset of the
facial attributes.
For example, you can specify the value as, ["ALL"] or ["DEFAULT"]. If you provide both, ["ALL", "DEFAULT"], Rekognition uses the logical AND operator to determine which attributes to return (in this case, it is all attributes). If you specify all attributes, the service performs additional detection, in addition to the default.
Attribute
public String toString()
toString
in class Object
Object.toString()
public IndexFacesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.