@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetectEntitiesV2Result extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DetectEntitiesV2Result() |
Modifier and Type | Method and Description |
---|---|
DetectEntitiesV2Result |
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 to the
DetectEntitiesV2 operation was truncated, include the
PaginationToken to fetch the next page of entities. |
List<UnmappedAttribute> |
getUnmappedAttributes()
Attributes extracted from the input text that couldn't be related 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 to the
DetectEntitiesV2 operation was truncated, include the
PaginationToken to fetch the next page of entities. |
void |
setUnmappedAttributes(Collection<UnmappedAttribute> unmappedAttributes)
Attributes extracted from the input text that couldn't be related to an entity.
|
String |
toString()
Returns a string representation of this object.
|
DetectEntitiesV2Result |
withEntities(Collection<Entity> entities)
The collection of medical entities extracted from the input text and their associated information.
|
DetectEntitiesV2Result |
withEntities(Entity... entities)
The collection of medical entities extracted from the input text and their associated information.
|
DetectEntitiesV2Result |
withModelVersion(String modelVersion)
The version of the model used to analyze the documents.
|
DetectEntitiesV2Result |
withPaginationToken(String paginationToken)
If the result to the
DetectEntitiesV2 operation was truncated, include the
PaginationToken to fetch the next page of entities. |
DetectEntitiesV2Result |
withUnmappedAttributes(Collection<UnmappedAttribute> unmappedAttributes)
Attributes extracted from the input text that couldn't be related to an entity.
|
DetectEntitiesV2Result |
withUnmappedAttributes(UnmappedAttribute... unmappedAttributes)
Attributes extracted from the input text that couldn't be related 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 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 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 in the detection and analysis. Attributes and traits of the entity are
also returned.public DetectEntitiesV2Result 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 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 in the detection and analysis. Attributes and traits of the entity are
also returned.public DetectEntitiesV2Result 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 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 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 couldn't be related to an entity.
public void setUnmappedAttributes(Collection<UnmappedAttribute> unmappedAttributes)
Attributes extracted from the input text that couldn't be related to an entity.
unmappedAttributes
- Attributes extracted from the input text that couldn't be related to an entity.public DetectEntitiesV2Result withUnmappedAttributes(UnmappedAttribute... unmappedAttributes)
Attributes extracted from the input text that couldn't be related 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 couldn't be related to an entity.public DetectEntitiesV2Result withUnmappedAttributes(Collection<UnmappedAttribute> unmappedAttributes)
Attributes extracted from the input text that couldn't be related to an entity.
unmappedAttributes
- Attributes extracted from the input text that couldn't be related to an entity.public void setPaginationToken(String paginationToken)
If the result to the DetectEntitiesV2
operation was truncated, include the
PaginationToken
to fetch the next page of entities.
paginationToken
- If the result to the DetectEntitiesV2
operation was truncated, include the
PaginationToken
to fetch the next page of entities.public String getPaginationToken()
If the result to the DetectEntitiesV2
operation was truncated, include the
PaginationToken
to fetch the next page of entities.
DetectEntitiesV2
operation was truncated, include the
PaginationToken
to fetch the next page of entities.public DetectEntitiesV2Result withPaginationToken(String paginationToken)
If the result to the DetectEntitiesV2
operation was truncated, include the
PaginationToken
to fetch the next page of entities.
paginationToken
- If the result to the DetectEntitiesV2
operation 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 DetectEntitiesV2Result 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 DetectEntitiesV2Result clone()