@Generated(value="software.amazon.awssdk:codegen") public final class CelebrityDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CelebrityDetail.Builder,CelebrityDetail>
Information about a recognized celebrity.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CelebrityDetail.Builder |
| Modifier and Type | Method and Description |
|---|---|
BoundingBox |
boundingBox()
Bounding box around the body of a celebrity.
|
static CelebrityDetail.Builder |
builder() |
Float |
confidence()
The confidence, in percentage, that Amazon Rekognition has that the recognized face is the celebrity.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
FaceDetail |
face()
Face details for the recognized celebrity.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasUrls()
Returns true if the Urls property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
String |
id()
The unique identifier for the celebrity.
|
String |
name()
The name of the celebrity.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CelebrityDetail.Builder> |
serializableBuilderClass() |
CelebrityDetail.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<String> |
urls()
An array of URLs pointing to additional celebrity information.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasUrls()
public final List<String> urls()
An array of URLs pointing to additional celebrity information.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasUrls() to see if a value was sent in this field.
public final String name()
The name of the celebrity.
public final String id()
The unique identifier for the celebrity.
public final Float confidence()
The confidence, in percentage, that Amazon Rekognition has that the recognized face is the celebrity.
public final BoundingBox boundingBox()
Bounding box around the body of a celebrity.
public final FaceDetail face()
Face details for the recognized celebrity.
public CelebrityDetail.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CelebrityDetail.Builder,CelebrityDetail>public static CelebrityDetail.Builder builder()
public static Class<? extends CelebrityDetail.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.