@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Celebrity extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about a celebrity recognized by the operation.
Constructor and Description |
---|
Celebrity() |
Modifier and Type | Method and Description |
---|---|
Celebrity |
clone() |
boolean |
equals(Object obj) |
ComparedFace |
getFace()
Provides information about the celebrity's face, such as its location on the image.
|
String |
getId()
A unique identifier for the celebrity.
|
Float |
getMatchConfidence()
The confidence, in percentage, that Rekognition has that the recognized face is the celebrity.
|
String |
getName()
The name of the celebrity.
|
List<String> |
getUrls()
An array of URLs pointing to additional information about the celebrity.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFace(ComparedFace face)
Provides information about the celebrity's face, such as its location on the image.
|
void |
setId(String id)
A unique identifier for the celebrity.
|
void |
setMatchConfidence(Float matchConfidence)
The confidence, in percentage, that Rekognition has that the recognized face is the celebrity.
|
void |
setName(String name)
The name of the celebrity.
|
void |
setUrls(Collection<String> urls)
An array of URLs pointing to additional information about the celebrity.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Celebrity |
withFace(ComparedFace face)
Provides information about the celebrity's face, such as its location on the image.
|
Celebrity |
withId(String id)
A unique identifier for the celebrity.
|
Celebrity |
withMatchConfidence(Float matchConfidence)
The confidence, in percentage, that Rekognition has that the recognized face is the celebrity.
|
Celebrity |
withName(String name)
The name of the celebrity.
|
Celebrity |
withUrls(Collection<String> urls)
An array of URLs pointing to additional information about the celebrity.
|
Celebrity |
withUrls(String... urls)
An array of URLs pointing to additional information about the celebrity.
|
public List<String> getUrls()
An array of URLs pointing to additional information about the celebrity. If there is no additional information about the celebrity, this list is empty.
public void setUrls(Collection<String> urls)
An array of URLs pointing to additional information about the celebrity. If there is no additional information about the celebrity, this list is empty.
urls
- An array of URLs pointing to additional information about the celebrity. If there is no additional
information about the celebrity, this list is empty.public Celebrity withUrls(String... urls)
An array of URLs pointing to additional information about the celebrity. If there is no additional information about the celebrity, this list is empty.
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 information about the celebrity. If there is no additional
information about the celebrity, this list is empty.public Celebrity withUrls(Collection<String> urls)
An array of URLs pointing to additional information about the celebrity. If there is no additional information about the celebrity, this list is empty.
urls
- An array of URLs pointing to additional information about the celebrity. If there is no additional
information about the celebrity, this list is empty.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 Celebrity withName(String name)
The name of the celebrity.
name
- The name of the celebrity.public void setId(String id)
A unique identifier for the celebrity.
id
- A unique identifier for the celebrity.public String getId()
A unique identifier for the celebrity.
public Celebrity withId(String id)
A unique identifier for the celebrity.
id
- A unique identifier for the celebrity.public void setFace(ComparedFace face)
Provides information about the celebrity's face, such as its location on the image.
face
- Provides information about the celebrity's face, such as its location on the image.public ComparedFace getFace()
Provides information about the celebrity's face, such as its location on the image.
public Celebrity withFace(ComparedFace face)
Provides information about the celebrity's face, such as its location on the image.
face
- Provides information about the celebrity's face, such as its location on the image.public void setMatchConfidence(Float matchConfidence)
The confidence, in percentage, that Rekognition has that the recognized face is the celebrity.
matchConfidence
- The confidence, in percentage, that Rekognition has that the recognized face is the celebrity.public Float getMatchConfidence()
The confidence, in percentage, that Rekognition has that the recognized face is the celebrity.
public Celebrity withMatchConfidence(Float matchConfidence)
The confidence, in percentage, that Rekognition has that the recognized face is the celebrity.
matchConfidence
- The confidence, in percentage, that Rekognition has that the recognized face is the celebrity.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.