public class DetectProtectiveEquipmentResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
DetectProtectiveEquipmentResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<ProtectiveEquipmentPerson> |
getPersons()
An array of persons detected in the image (including persons not wearing
PPE).
|
java.lang.String |
getProtectiveEquipmentModelVersion()
The version number of the PPE detection model used to detect PPE in the
image.
|
ProtectiveEquipmentSummary |
getSummary()
Summary information for the types of PPE specified in the
SummarizationAttributes input parameter. |
int |
hashCode() |
void |
setPersons(java.util.Collection<ProtectiveEquipmentPerson> persons)
An array of persons detected in the image (including persons not wearing
PPE).
|
void |
setProtectiveEquipmentModelVersion(java.lang.String protectiveEquipmentModelVersion)
The version number of the PPE detection model used to detect PPE in the
image.
|
void |
setSummary(ProtectiveEquipmentSummary summary)
Summary information for the types of PPE specified in the
SummarizationAttributes input parameter. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DetectProtectiveEquipmentResult |
withPersons(java.util.Collection<ProtectiveEquipmentPerson> persons)
An array of persons detected in the image (including persons not wearing
PPE).
|
DetectProtectiveEquipmentResult |
withPersons(ProtectiveEquipmentPerson... persons)
An array of persons detected in the image (including persons not wearing
PPE).
|
DetectProtectiveEquipmentResult |
withProtectiveEquipmentModelVersion(java.lang.String protectiveEquipmentModelVersion)
The version number of the PPE detection model used to detect PPE in the
image.
|
DetectProtectiveEquipmentResult |
withSummary(ProtectiveEquipmentSummary summary)
Summary information for the types of PPE specified in the
SummarizationAttributes input parameter. |
public java.lang.String getProtectiveEquipmentModelVersion()
The version number of the PPE detection model used to detect PPE in the image.
The version number of the PPE detection model used to detect PPE in the image.
public void setProtectiveEquipmentModelVersion(java.lang.String protectiveEquipmentModelVersion)
The version number of the PPE detection model used to detect PPE in the image.
protectiveEquipmentModelVersion
- The version number of the PPE detection model used to detect PPE in the image.
public DetectProtectiveEquipmentResult withProtectiveEquipmentModelVersion(java.lang.String protectiveEquipmentModelVersion)
The version number of the PPE detection model used to detect PPE in the image.
Returns a reference to this object so that method calls can be chained together.
protectiveEquipmentModelVersion
- The version number of the PPE detection model used to detect PPE in the image.
public java.util.List<ProtectiveEquipmentPerson> getPersons()
An array of persons detected in the image (including persons not wearing PPE).
An array of persons detected in the image (including persons not wearing PPE).
public void setPersons(java.util.Collection<ProtectiveEquipmentPerson> persons)
An array of persons detected in the image (including persons not wearing PPE).
persons
- An array of persons detected in the image (including persons not wearing PPE).
public DetectProtectiveEquipmentResult withPersons(ProtectiveEquipmentPerson... persons)
An array of persons detected in the image (including persons not wearing PPE).
Returns a reference to this object so that method calls can be chained together.
persons
- An array of persons detected in the image (including persons not wearing PPE).
public DetectProtectiveEquipmentResult withPersons(java.util.Collection<ProtectiveEquipmentPerson> persons)
An array of persons detected in the image (including persons not wearing PPE).
Returns a reference to this object so that method calls can be chained together.
persons
- An array of persons detected in the image (including persons not wearing PPE).
public ProtectiveEquipmentSummary getSummary()
Summary information for the types of PPE specified in the
SummarizationAttributes
input parameter.
Summary information for the types of PPE specified in the
SummarizationAttributes
input parameter.
public void setSummary(ProtectiveEquipmentSummary summary)
Summary information for the types of PPE specified in the
SummarizationAttributes
input parameter.
summary
-
Summary information for the types of PPE specified in the
SummarizationAttributes
input parameter.
public DetectProtectiveEquipmentResult withSummary(ProtectiveEquipmentSummary summary)
Summary information for the types of PPE specified in the
SummarizationAttributes
input parameter.
Returns a reference to this object so that method calls can be chained together.
summary
-
Summary information for the types of PPE specified in the
SummarizationAttributes
input parameter.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.