@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetectPHIResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
DetectPHIResult() |
| Modifier and Type | Method and Description |
|---|---|
DetectPHIResult |
clone() |
boolean |
equals(Object obj) |
List<Entity> |
getEntities()
The collection of PHI entities extracted from the input text and their associated information.
|
String |
getPaginationToken()
If the result of the previous request to DetectPHI was truncated, include the Paginationtoken to fetch the next
page of PHI entities.
|
int |
hashCode() |
void |
setEntities(Collection<Entity> entities)
The collection of PHI entities extracted from the input text and their associated information.
|
void |
setPaginationToken(String paginationToken)
If the result of the previous request to DetectPHI was truncated, include the Paginationtoken to fetch the next
page of PHI entities.
|
String |
toString()
Returns a string representation of this object.
|
DetectPHIResult |
withEntities(Collection<Entity> entities)
The collection of PHI entities extracted from the input text and their associated information.
|
DetectPHIResult |
withEntities(Entity... entities)
The collection of PHI entities extracted from the input text and their associated information.
|
DetectPHIResult |
withPaginationToken(String paginationToken)
If the result of the previous request to DetectPHI was truncated, include the Paginationtoken to fetch the next
page of PHI entities.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<Entity> getEntities()
The collection of PHI 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 Comprehend Medical has in its detection.
public void setEntities(Collection<Entity> entities)
The collection of PHI 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 Comprehend Medical has in its detection.
entities - The collection of PHI 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 Comprehend Medical has in its detection.public DetectPHIResult withEntities(Entity... entities)
The collection of PHI 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 Comprehend Medical has in its detection.
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 PHI 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 Comprehend Medical has in its detection.public DetectPHIResult withEntities(Collection<Entity> entities)
The collection of PHI 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 Comprehend Medical has in its detection.
entities - The collection of PHI 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 Comprehend Medical has in its detection.public void setPaginationToken(String paginationToken)
If the result of the previous request to DetectPHI was truncated, include the Paginationtoken to fetch the next page of PHI entities.
paginationToken - If the result of the previous request to DetectPHI was truncated, include the Paginationtoken to fetch the
next page of PHI entities.public String getPaginationToken()
If the result of the previous request to DetectPHI was truncated, include the Paginationtoken to fetch the next page of PHI entities.
public DetectPHIResult withPaginationToken(String paginationToken)
If the result of the previous request to DetectPHI was truncated, include the Paginationtoken to fetch the next page of PHI entities.
paginationToken - If the result of the previous request to DetectPHI was truncated, include the Paginationtoken to fetch the
next page of PHI entities.public String toString()
toString in class ObjectObject.toString()public DetectPHIResult clone()
Copyright © 2019. All rights reserved.