@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetectEntitiesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
DetectEntitiesResult() |
| Modifier and Type | Method and Description |
|---|---|
DetectEntitiesResult |
clone() |
boolean |
equals(Object obj) |
List<Entity> |
getEntities()
A collection of entities identified in the input text.
|
int |
hashCode() |
void |
setEntities(Collection<Entity> entities)
A collection of entities identified in the input text.
|
String |
toString()
Returns a string representation of this object.
|
DetectEntitiesResult |
withEntities(Collection<Entity> entities)
A collection of entities identified in the input text.
|
DetectEntitiesResult |
withEntities(Entity... entities)
A collection of entities identified in the input text.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<Entity> getEntities()
A collection of entities identified in the input text. For each entity, the response provides the entity text, entity type, where the entity text begins and ends, and the level of confidence that Amazon Comprehend has in the detection. For a list of entity types, see how-entities.
public void setEntities(Collection<Entity> entities)
A collection of entities identified in the input text. For each entity, the response provides the entity text, entity type, where the entity text begins and ends, and the level of confidence that Amazon Comprehend has in the detection. For a list of entity types, see how-entities.
entities - A collection of entities identified in the input text. For each entity, the response provides the entity
text, entity type, where the entity text begins and ends, and the level of confidence that Amazon
Comprehend has in the detection. For a list of entity types, see how-entities.public DetectEntitiesResult withEntities(Entity... entities)
A collection of entities identified in the input text. For each entity, the response provides the entity text, entity type, where the entity text begins and ends, and the level of confidence that Amazon Comprehend has in the detection. For a list of entity types, see how-entities.
NOTE: This method appends the values to the existing list (if any). Use
setEntities(java.util.Collection) or withEntities(java.util.Collection) if you want to override
the existing values.
entities - A collection of entities identified in the input text. For each entity, the response provides the entity
text, entity type, where the entity text begins and ends, and the level of confidence that Amazon
Comprehend has in the detection. For a list of entity types, see how-entities.public DetectEntitiesResult withEntities(Collection<Entity> entities)
A collection of entities identified in the input text. For each entity, the response provides the entity text, entity type, where the entity text begins and ends, and the level of confidence that Amazon Comprehend has in the detection. For a list of entity types, see how-entities.
entities - A collection of entities identified in the input text. For each entity, the response provides the entity
text, entity type, where the entity text begins and ends, and the level of confidence that Amazon
Comprehend has in the detection. For a list of entity types, see how-entities.public String toString()
toString in class ObjectObject.toString()public DetectEntitiesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.