CopyableBuilder<DetectFacesRequest.Builder,DetectFacesRequest>
, SdkBuilder<DetectFacesRequest.Builder,DetectFacesRequest>
public static interface DetectFacesRequest.Builder extends CopyableBuilder<DetectFacesRequest.Builder,DetectFacesRequest>
Modifier and Type | Method | Description |
---|---|---|
DetectFacesRequest.Builder |
attributes(String... attributes) |
An array of facial attributes you want to be returned.
|
DetectFacesRequest.Builder |
attributes(Collection<String> attributes) |
An array of facial attributes you want to be returned.
|
DetectFacesRequest.Builder |
attributes(Attribute... attributes) |
An array of facial attributes you want to be returned.
|
DetectFacesRequest.Builder |
image(Image image) |
The image in which you want to detect faces.
|
copy
apply, build
DetectFacesRequest.Builder image(Image image)
The image in which you want to detect faces. You can specify a blob or an S3 object.
image
- The image in which you want to detect faces. You can specify a blob or an S3 object.DetectFacesRequest.Builder attributes(Collection<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
- 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).
Attribute
DetectFacesRequest.Builder attributes(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).
NOTE: This method appends the values to the existing list (if any). Use
#setAttributes(java.util.Collection)
or #withAttributes(java.util.Collection)
if you want to
override the existing values.
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).
Attribute
DetectFacesRequest.Builder attributes(Attribute... 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).
NOTE: This method appends the values to the existing list (if any). Use
#setAttributes(java.util.Collection)
or #withAttributes(java.util.Collection)
if you want to
override the existing values.
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).
Attribute
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.