Cloneable
, ReadLimitInfo
, ToCopyableBuilder<DetectFacesRequest.Builder,DetectFacesRequest>
@Generated("software.amazon.awssdk:codegen") public class DetectFacesRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<DetectFacesRequest.Builder,DetectFacesRequest>
Modifier and Type | Class | Description |
---|---|---|
static interface |
DetectFacesRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
List<String> |
attributes() |
An array of facial attributes you want to be returned.
|
static DetectFacesRequest.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
Image |
image() |
The image in which you want to detect faces.
|
static Class<? extends DetectFacesRequest.Builder> |
serializableBuilderClass() |
|
DetectFacesRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public Image image()
The image in which you want to detect faces. You can specify a blob or an S3 object.
public List<String> attributes()
An array of facial attributes you want to be returned. This can be the default list of attributes or all
attributes. If you don't specify a value for Attributes
or if you specify ["DEFAULT"]
,
the API returns the following subset of facial attributes: BoundingBox
, Confidence
,
Pose
, Quality
and Landmarks
. If you provide ["ALL"]
, all
facial attributes are returned but the operation will take longer to complete.
If you provide both, ["ALL", "DEFAULT"]
, the service uses a logical AND operator to determine which
attributes to return (in this case, all attributes).
Attributes
or if you specify
["DEFAULT"]
, the API returns the following subset of facial attributes:
BoundingBox
, Confidence
, Pose
, Quality
and
Landmarks
. If you provide ["ALL"]
, all facial attributes are returned but the
operation will take longer to complete.
If you provide both, ["ALL", "DEFAULT"]
, the service uses a logical AND operator to
determine which attributes to return (in this case, all attributes).
Attribute
public DetectFacesRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DetectFacesRequest.Builder,DetectFacesRequest>
public static DetectFacesRequest.Builder builder()
public static Class<? extends DetectFacesRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.