Class StartFaceDetectionRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.rekognition.model.RekognitionRequest
-
- software.amazon.awssdk.services.rekognition.model.StartFaceDetectionRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<StartFaceDetectionRequest.Builder,StartFaceDetectionRequest>
@Generated("software.amazon.awssdk:codegen") public final class StartFaceDetectionRequest extends RekognitionRequest implements ToCopyableBuilder<StartFaceDetectionRequest.Builder,StartFaceDetectionRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStartFaceDetectionRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StartFaceDetectionRequest.Builderbuilder()StringclientRequestToken()Idempotent token used to identify the start request.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)FaceAttributesfaceAttributes()The face attributes you want returned.StringfaceAttributesAsString()The face attributes you want returned.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringjobTag()An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic.NotificationChannelnotificationChannel()The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the face detection operation.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends StartFaceDetectionRequest.Builder>serializableBuilderClass()StartFaceDetectionRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.Videovideo()The video in which you want to detect faces.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
video
public final Video video()
The video in which you want to detect faces. The video must be stored in an Amazon S3 bucket.
- Returns:
- The video in which you want to detect faces. The video must be stored in an Amazon S3 bucket.
-
clientRequestToken
public final String clientRequestToken()
Idempotent token used to identify the start request. If you use the same token with multiple
StartFaceDetectionrequests, the sameJobIdis returned. UseClientRequestTokento prevent the same job from being accidently started more than once.- Returns:
- Idempotent token used to identify the start request. If you use the same token with multiple
StartFaceDetectionrequests, the sameJobIdis returned. UseClientRequestTokento prevent the same job from being accidently started more than once.
-
notificationChannel
public final 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. The Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy.
- Returns:
- The ARN of the Amazon SNS topic to which you want Amazon Rekognition Video to publish the completion status of the face detection operation. The Amazon SNS topic must have a topic name that begins with AmazonRekognition if you are using the AmazonRekognitionServiceRole permissions policy.
-
faceAttributes
public final 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,
faceAttributeswill returnFaceAttributes.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfaceAttributesAsString().- Returns:
- 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. - See Also:
FaceAttributes
-
faceAttributesAsString
public final 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,
faceAttributeswill returnFaceAttributes.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfaceAttributesAsString().- Returns:
- 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. - See Also:
FaceAttributes
-
jobTag
public final String jobTag()
An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic. For example, you can use
JobTagto group related jobs and identify them in the completion notification.- Returns:
- An identifier you specify that's returned in the completion notification that's published to your Amazon
Simple Notification Service topic. For example, you can use
JobTagto group related jobs and identify them in the completion notification.
-
toBuilder
public StartFaceDetectionRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StartFaceDetectionRequest.Builder,StartFaceDetectionRequest>- Specified by:
toBuilderin classRekognitionRequest
-
builder
public static StartFaceDetectionRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends StartFaceDetectionRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-