@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CelebrityDetail extends Object implements Serializable, Cloneable, StructuredPojo
Information about a recognized celebrity.
Constructor and Description |
---|
CelebrityDetail() |
Modifier and Type | Method and Description |
---|---|
CelebrityDetail |
clone() |
boolean |
equals(Object obj) |
BoundingBox |
getBoundingBox()
Bounding box around the body of a celebrity.
|
Float |
getConfidence()
The confidence, in percentage, that Amazon Rekognition has that the recognized face is the celebrity.
|
FaceDetail |
getFace()
Face details for the recognized celebrity.
|
String |
getId()
The unique identifier for the celebrity.
|
KnownGender |
getKnownGender()
Retrieves the known gender for the celebrity.
|
String |
getName()
The name of the celebrity.
|
List<String> |
getUrls()
An array of URLs pointing to additional celebrity information.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBoundingBox(BoundingBox boundingBox)
Bounding box around the body of a celebrity.
|
void |
setConfidence(Float confidence)
The confidence, in percentage, that Amazon Rekognition has that the recognized face is the celebrity.
|
void |
setFace(FaceDetail face)
Face details for the recognized celebrity.
|
void |
setId(String id)
The unique identifier for the celebrity.
|
void |
setKnownGender(KnownGender knownGender)
Retrieves the known gender for the celebrity.
|
void |
setName(String name)
The name of the celebrity.
|
void |
setUrls(Collection<String> urls)
An array of URLs pointing to additional celebrity information.
|
String |
toString()
Returns a string representation of this object.
|
CelebrityDetail |
withBoundingBox(BoundingBox boundingBox)
Bounding box around the body of a celebrity.
|
CelebrityDetail |
withConfidence(Float confidence)
The confidence, in percentage, that Amazon Rekognition has that the recognized face is the celebrity.
|
CelebrityDetail |
withFace(FaceDetail face)
Face details for the recognized celebrity.
|
CelebrityDetail |
withId(String id)
The unique identifier for the celebrity.
|
CelebrityDetail |
withKnownGender(KnownGender knownGender)
Retrieves the known gender for the celebrity.
|
CelebrityDetail |
withName(String name)
The name of the celebrity.
|
CelebrityDetail |
withUrls(Collection<String> urls)
An array of URLs pointing to additional celebrity information.
|
CelebrityDetail |
withUrls(String... urls)
An array of URLs pointing to additional celebrity information.
|
public List<String> getUrls()
An array of URLs pointing to additional celebrity information.
public void setUrls(Collection<String> urls)
An array of URLs pointing to additional celebrity information.
urls
- An array of URLs pointing to additional celebrity information.public CelebrityDetail withUrls(String... urls)
An array of URLs pointing to additional celebrity information.
NOTE: This method appends the values to the existing list (if any). Use
setUrls(java.util.Collection)
or withUrls(java.util.Collection)
if you want to override the
existing values.
urls
- An array of URLs pointing to additional celebrity information.public CelebrityDetail withUrls(Collection<String> urls)
An array of URLs pointing to additional celebrity information.
urls
- An array of URLs pointing to additional celebrity information.public void setName(String name)
The name of the celebrity.
name
- The name of the celebrity.public String getName()
The name of the celebrity.
public CelebrityDetail withName(String name)
The name of the celebrity.
name
- The name of the celebrity.public void setId(String id)
The unique identifier for the celebrity.
id
- The unique identifier for the celebrity.public String getId()
The unique identifier for the celebrity.
public CelebrityDetail withId(String id)
The unique identifier for the celebrity.
id
- The unique identifier for the celebrity.public void setConfidence(Float confidence)
The confidence, in percentage, that Amazon Rekognition has that the recognized face is the celebrity.
confidence
- The confidence, in percentage, that Amazon Rekognition has that the recognized face is the celebrity.public Float getConfidence()
The confidence, in percentage, that Amazon Rekognition has that the recognized face is the celebrity.
public CelebrityDetail withConfidence(Float confidence)
The confidence, in percentage, that Amazon Rekognition has that the recognized face is the celebrity.
confidence
- The confidence, in percentage, that Amazon Rekognition has that the recognized face is the celebrity.public void setBoundingBox(BoundingBox boundingBox)
Bounding box around the body of a celebrity.
boundingBox
- Bounding box around the body of a celebrity.public BoundingBox getBoundingBox()
Bounding box around the body of a celebrity.
public CelebrityDetail withBoundingBox(BoundingBox boundingBox)
Bounding box around the body of a celebrity.
boundingBox
- Bounding box around the body of a celebrity.public void setFace(FaceDetail face)
Face details for the recognized celebrity.
face
- Face details for the recognized celebrity.public FaceDetail getFace()
Face details for the recognized celebrity.
public CelebrityDetail withFace(FaceDetail face)
Face details for the recognized celebrity.
face
- Face details for the recognized celebrity.public void setKnownGender(KnownGender knownGender)
Retrieves the known gender for the celebrity.
knownGender
- Retrieves the known gender for the celebrity.public KnownGender getKnownGender()
Retrieves the known gender for the celebrity.
public CelebrityDetail withKnownGender(KnownGender knownGender)
Retrieves the known gender for the celebrity.
knownGender
- Retrieves the known gender for the celebrity.public String toString()
toString
in class Object
Object.toString()
public CelebrityDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.