@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DocumentClass extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the class that categorizes the document being analyzed
| Constructor and Description |
|---|
DocumentClass() |
| Modifier and Type | Method and Description |
|---|---|
DocumentClass |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the class.
|
Float |
getScore()
The confidence score that Amazon Comprehend has this class correctly attributed.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setName(String name)
The name of the class.
|
void |
setScore(Float score)
The confidence score that Amazon Comprehend has this class correctly attributed.
|
String |
toString()
Returns a string representation of this object.
|
DocumentClass |
withName(String name)
The name of the class.
|
DocumentClass |
withScore(Float score)
The confidence score that Amazon Comprehend has this class correctly attributed.
|
public void setName(String name)
The name of the class.
name - The name of the class.public String getName()
The name of the class.
public DocumentClass withName(String name)
The name of the class.
name - The name of the class.public void setScore(Float score)
The confidence score that Amazon Comprehend has this class correctly attributed.
score - The confidence score that Amazon Comprehend has this class correctly attributed.public Float getScore()
The confidence score that Amazon Comprehend has this class correctly attributed.
public DocumentClass withScore(Float score)
The confidence score that Amazon Comprehend has this class correctly attributed.
score - The confidence score that Amazon Comprehend has this class correctly attributed.public String toString()
toString in class ObjectObject.toString()public DocumentClass clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.