public static interface DetectFacesRequest.Builder extends RekognitionRequest.Builder, CopyableBuilder<DetectFacesRequest.Builder,DetectFacesRequest>
Modifier and Type | Method and Description |
---|---|
DetectFacesRequest.Builder |
attributes(Attribute... attributes)
An array of facial attributes you want to be returned.
|
DetectFacesRequest.Builder |
attributes(Collection<Attribute> attributes)
An array of facial attributes you want to be returned.
|
DetectFacesRequest.Builder |
attributesWithStrings(Collection<String> attributes)
An array of facial attributes you want to be returned.
|
DetectFacesRequest.Builder |
attributesWithStrings(String... attributes)
An array of facial attributes you want to be returned.
|
default DetectFacesRequest.Builder |
image(Consumer<Image.Builder> image)
The image in which you want to detect faces.
|
DetectFacesRequest.Builder |
image(Image image)
The image in which you want to detect faces.
|
DetectFacesRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
DetectFacesRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, 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.default DetectFacesRequest.Builder image(Consumer<Image.Builder> image)
The image in which you want to detect faces. You can specify a blob or an S3 object.
This is a convenience that creates an instance of theImage.Builder
avoiding the need to create one
manually via Image.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to image(Image)
.image
- a consumer that will call methods on Image.Builder
image(Image)
DetectFacesRequest.Builder attributesWithStrings(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).
DetectFacesRequest.Builder attributesWithStrings(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).
DetectFacesRequest.Builder attributes(Collection<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).
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).
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).
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).
DetectFacesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.DetectFacesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.