@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Smile extends Object implements Serializable, Cloneable, StructuredPojo
Indicates whether or not the face is smiling, and the confidence level in the determination.
| Constructor and Description |
|---|
Smile() |
| Modifier and Type | Method and Description |
|---|---|
Smile |
clone() |
boolean |
equals(Object obj) |
Float |
getConfidence()
Level of confidence in the determination.
|
Boolean |
getValue()
Boolean value that indicates whether the face is smiling or not.
|
int |
hashCode() |
Boolean |
isValue()
Boolean value that indicates whether the face is smiling or not.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setConfidence(Float confidence)
Level of confidence in the determination.
|
void |
setValue(Boolean value)
Boolean value that indicates whether the face is smiling or not.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Smile |
withConfidence(Float confidence)
Level of confidence in the determination.
|
Smile |
withValue(Boolean value)
Boolean value that indicates whether the face is smiling or not.
|
public void setValue(Boolean value)
Boolean value that indicates whether the face is smiling or not.
value - Boolean value that indicates whether the face is smiling or not.public Boolean getValue()
Boolean value that indicates whether the face is smiling or not.
public Smile withValue(Boolean value)
Boolean value that indicates whether the face is smiling or not.
value - Boolean value that indicates whether the face is smiling or not.public Boolean isValue()
Boolean value that indicates whether the face is smiling or not.
public void setConfidence(Float confidence)
Level of confidence in the determination.
confidence - Level of confidence in the determination.public Float getConfidence()
Level of confidence in the determination.
public Smile withConfidence(Float confidence)
Level of confidence in the determination.
confidence - Level of confidence in the determination.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.