@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Label extends Object implements Serializable, Cloneable, StructuredPojo
Structure containing details about the detected label, including name, and level of confidence.
| Constructor and Description |
|---|
Label() |
| Modifier and Type | Method and Description |
|---|---|
Label |
clone() |
boolean |
equals(Object obj) |
Float |
getConfidence()
Level of confidence.
|
String |
getName()
The name (label) of the object.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setConfidence(Float confidence)
Level of confidence.
|
void |
setName(String name)
The name (label) of the object.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Label |
withConfidence(Float confidence)
Level of confidence.
|
Label |
withName(String name)
The name (label) of the object.
|
public void setName(String name)
The name (label) of the object.
name - The name (label) of the object.public String getName()
The name (label) of the object.
public Label withName(String name)
The name (label) of the object.
name - The name (label) of the object.public void setConfidence(Float confidence)
Level of confidence.
confidence - Level of confidence.public Float getConfidence()
Level of confidence.
public Label withConfidence(Float confidence)
Level of confidence.
confidence - Level of confidence.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.