@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()
The collection of medical entities extracted from the input text and their associated information.
|
String |
getModelVersion()
The version of the model used to analyze the documents.
|
String |
getPaginationToken()
If the result of the previous request to
DetectEntities was truncated, include the
PaginationToken to fetch the next page of entities. |
List<UnmappedAttribute> |
getUnmappedAttributes()
Attributes extracted from the input text that we were unable to relate to an entity.
|
int |
hashCode() |
void |
setEntities(Collection<Entity> entities)
The collection of medical entities extracted from the input text and their associated information.
|
void |
setModelVersion(String modelVersion)
The version of the model used to analyze the documents.
|
void |
setPaginationToken(String paginationToken)
If the result of the previous request to
DetectEntities was truncated, include the
PaginationToken to fetch the next page of entities. |
void |
setUnmappedAttributes(Collection<UnmappedAttribute> unmappedAttributes)
Attributes extracted from the input text that we were unable to relate to an entity.
|
String |
toString()
Returns a string representation of this object.
|
DetectEntitiesResult |
withEntities(Collection<Entity> entities)
The collection of medical entities extracted from the input text and their associated information.
|
DetectEntitiesResult |
withEntities(Entity... entities)
The collection of medical entities extracted from the input text and their associated information.
|
DetectEntitiesResult |
withModelVersion(String modelVersion)
The version of the model used to analyze the documents.
|
DetectEntitiesResult |
withPaginationToken(String paginationToken)
If the result of the previous request to
DetectEntities was truncated, include the
PaginationToken to fetch the next page of entities. |
DetectEntitiesResult |
withUnmappedAttributes(Collection<UnmappedAttribute> unmappedAttributes)
Attributes extracted from the input text that we were unable to relate to an entity.
|
DetectEntitiesResult |
withUnmappedAttributes(UnmappedAttribute... unmappedAttributes)
Attributes extracted from the input text that we were unable to relate to an entity.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Entity> getEntities()
The collection of medical entities extracted from the input text and their associated information. For each entity, the response provides the entity text, the entity category, where the entity text begins and ends, and the level of confidence that Amazon Comprehend Medical has in the detection and analysis. Attributes and traits of the entity are also returned.
public void setEntities(Collection<Entity> entities)
The collection of medical entities extracted from the input text and their associated information. For each entity, the response provides the entity text, the entity category, where the entity text begins and ends, and the level of confidence that Amazon Comprehend Medical has in the detection and analysis. Attributes and traits of the entity are also returned.
entities
- The collection of medical entities extracted from the input text and their associated information. For
each entity, the response provides the entity text, the entity category, where the entity text begins and
ends, and the level of confidence that Amazon Comprehend Medical has in the detection and analysis.
Attributes and traits of the entity are also returned.public DetectEntitiesResult withEntities(Entity... entities)
The collection of medical entities extracted from the input text and their associated information. For each entity, the response provides the entity text, the entity category, where the entity text begins and ends, and the level of confidence that Amazon Comprehend Medical has in the detection and analysis. Attributes and traits of the entity are also returned.
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
- The collection of medical entities extracted from the input text and their associated information. For
each entity, the response provides the entity text, the entity category, where the entity text begins and
ends, and the level of confidence that Amazon Comprehend Medical has in the detection and analysis.
Attributes and traits of the entity are also returned.public DetectEntitiesResult withEntities(Collection<Entity> entities)
The collection of medical entities extracted from the input text and their associated information. For each entity, the response provides the entity text, the entity category, where the entity text begins and ends, and the level of confidence that Amazon Comprehend Medical has in the detection and analysis. Attributes and traits of the entity are also returned.
entities
- The collection of medical entities extracted from the input text and their associated information. For
each entity, the response provides the entity text, the entity category, where the entity text begins and
ends, and the level of confidence that Amazon Comprehend Medical has in the detection and analysis.
Attributes and traits of the entity are also returned.public List<UnmappedAttribute> getUnmappedAttributes()
Attributes extracted from the input text that we were unable to relate to an entity.
public void setUnmappedAttributes(Collection<UnmappedAttribute> unmappedAttributes)
Attributes extracted from the input text that we were unable to relate to an entity.
unmappedAttributes
- Attributes extracted from the input text that we were unable to relate to an entity.public DetectEntitiesResult withUnmappedAttributes(UnmappedAttribute... unmappedAttributes)
Attributes extracted from the input text that we were unable to relate to an entity.
NOTE: This method appends the values to the existing list (if any). Use
setUnmappedAttributes(java.util.Collection)
or withUnmappedAttributes(java.util.Collection)
if
you want to override the existing values.
unmappedAttributes
- Attributes extracted from the input text that we were unable to relate to an entity.public DetectEntitiesResult withUnmappedAttributes(Collection<UnmappedAttribute> unmappedAttributes)
Attributes extracted from the input text that we were unable to relate to an entity.
unmappedAttributes
- Attributes extracted from the input text that we were unable to relate to an entity.public void setPaginationToken(String paginationToken)
If the result of the previous request to DetectEntities
was truncated, include the
PaginationToken
to fetch the next page of entities.
paginationToken
- If the result of the previous request to DetectEntities
was truncated, include the
PaginationToken
to fetch the next page of entities.public String getPaginationToken()
If the result of the previous request to DetectEntities
was truncated, include the
PaginationToken
to fetch the next page of entities.
DetectEntities
was truncated, include the
PaginationToken
to fetch the next page of entities.public DetectEntitiesResult withPaginationToken(String paginationToken)
If the result of the previous request to DetectEntities
was truncated, include the
PaginationToken
to fetch the next page of entities.
paginationToken
- If the result of the previous request to DetectEntities
was truncated, include the
PaginationToken
to fetch the next page of entities.public void setModelVersion(String modelVersion)
The version of the model used to analyze the documents. The version number looks like X.X.X. You can use this information to track the model used for a particular batch of documents.
modelVersion
- The version of the model used to analyze the documents. The version number looks like X.X.X. You can use
this information to track the model used for a particular batch of documents.public String getModelVersion()
The version of the model used to analyze the documents. The version number looks like X.X.X. You can use this information to track the model used for a particular batch of documents.
public DetectEntitiesResult withModelVersion(String modelVersion)
The version of the model used to analyze the documents. The version number looks like X.X.X. You can use this information to track the model used for a particular batch of documents.
modelVersion
- The version of the model used to analyze the documents. The version number looks like X.X.X. You can use
this information to track the model used for a particular batch of documents.public String toString()
toString
in class Object
Object.toString()
public DetectEntitiesResult clone()