@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)
Marshalls this structured data using the given
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 Object
Object.toString()
public DocumentClass clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.