@Generated(value="software.amazon.awssdk:codegen") public final class StartFaceDetectionRequest extends RekognitionRequest implements ToCopyableBuilder<StartFaceDetectionRequest.Builder,StartFaceDetectionRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
StartFaceDetectionRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static StartFaceDetectionRequest.Builder |
builder() |
String |
clientRequestToken()
Idempotent token used to identify the start request.
|
boolean |
equals(Object obj) |
FaceAttributes |
faceAttributes()
The face attributes you want returned.
|
String |
faceAttributesAsString()
The face attributes you want returned.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
jobTag()
Unique identifier you specify to identify the job in the completion status published to the Amazon Simple
Notification Service topic.
|
NotificationChannel |
notificationChannel()
The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of
the face detection operation.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends StartFaceDetectionRequest.Builder> |
serializableBuilderClass() |
StartFaceDetectionRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Video |
video()
The video in which you want to detect faces.
|
overrideConfiguration
copy
public Video video()
The video in which you want to detect faces. The video must be stored in an Amazon S3 bucket.
public String clientRequestToken()
Idempotent token used to identify the start request. If you use the same token with multiple
StartFaceDetection
requests, the same JobId
is returned. Use
ClientRequestToken
to prevent the same job from being accidently started more than once.
StartFaceDetection
requests, the same JobId
is returned. Use
ClientRequestToken
to prevent the same job from being accidently started more than once.public NotificationChannel notificationChannel()
The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the face detection operation.
public FaceAttributes faceAttributes()
The face attributes you want returned.
DEFAULT
- The following subset of facial attributes are returned: BoundingBox, Confidence, Pose,
Quality and Landmarks.
ALL
- All facial attributes are returned.
If the service returns an enum value that is not available in the current SDK version, faceAttributes
will return FaceAttributes.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from faceAttributesAsString()
.
DEFAULT
- The following subset of facial attributes are returned: BoundingBox, Confidence,
Pose, Quality and Landmarks.
ALL
- All facial attributes are returned.
FaceAttributes
public String faceAttributesAsString()
The face attributes you want returned.
DEFAULT
- The following subset of facial attributes are returned: BoundingBox, Confidence, Pose,
Quality and Landmarks.
ALL
- All facial attributes are returned.
If the service returns an enum value that is not available in the current SDK version, faceAttributes
will return FaceAttributes.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from faceAttributesAsString()
.
DEFAULT
- The following subset of facial attributes are returned: BoundingBox, Confidence,
Pose, Quality and Landmarks.
ALL
- All facial attributes are returned.
FaceAttributes
public String jobTag()
Unique identifier you specify to identify the job in the completion status published to the Amazon Simple Notification Service topic.
public StartFaceDetectionRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<StartFaceDetectionRequest.Builder,StartFaceDetectionRequest>
toBuilder
in class RekognitionRequest
public static StartFaceDetectionRequest.Builder builder()
public static Class<? extends StartFaceDetectionRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.