@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PersonDetail extends Object implements Serializable, Cloneable, StructuredPojo
Details about a person detected in a video analysis request.
Constructor and Description |
---|
PersonDetail() |
Modifier and Type | Method and Description |
---|---|
PersonDetail |
clone() |
boolean |
equals(Object obj) |
BoundingBox |
getBoundingBox()
Bounding box around the detected person.
|
FaceDetail |
getFace()
Face details for the detected person.
|
Long |
getIndex()
Identifier for the person detected person within a video.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBoundingBox(BoundingBox boundingBox)
Bounding box around the detected person.
|
void |
setFace(FaceDetail face)
Face details for the detected person.
|
void |
setIndex(Long index)
Identifier for the person detected person within a video.
|
String |
toString()
Returns a string representation of this object.
|
PersonDetail |
withBoundingBox(BoundingBox boundingBox)
Bounding box around the detected person.
|
PersonDetail |
withFace(FaceDetail face)
Face details for the detected person.
|
PersonDetail |
withIndex(Long index)
Identifier for the person detected person within a video.
|
public void setIndex(Long index)
Identifier for the person detected person within a video. Use to keep track of the person throughout the video. The identifier is not stored by Amazon Rekognition.
index
- Identifier for the person detected person within a video. Use to keep track of the person throughout the
video. The identifier is not stored by Amazon Rekognition.public Long getIndex()
Identifier for the person detected person within a video. Use to keep track of the person throughout the video. The identifier is not stored by Amazon Rekognition.
public PersonDetail withIndex(Long index)
Identifier for the person detected person within a video. Use to keep track of the person throughout the video. The identifier is not stored by Amazon Rekognition.
index
- Identifier for the person detected person within a video. Use to keep track of the person throughout the
video. The identifier is not stored by Amazon Rekognition.public void setBoundingBox(BoundingBox boundingBox)
Bounding box around the detected person.
boundingBox
- Bounding box around the detected person.public BoundingBox getBoundingBox()
Bounding box around the detected person.
public PersonDetail withBoundingBox(BoundingBox boundingBox)
Bounding box around the detected person.
boundingBox
- Bounding box around the detected person.public void setFace(FaceDetail face)
Face details for the detected person.
face
- Face details for the detected person.public FaceDetail getFace()
Face details for the detected person.
public PersonDetail withFace(FaceDetail face)
Face details for the detected person.
face
- Face details for the detected person.public String toString()
toString
in class Object
Object.toString()
public PersonDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.