@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 |
getModelVersion()
The version of the model used to analyze the documents.
|
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 |
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
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 |
withModelVersion(String modelVersion)
The version of the model used to analyze the documents.
|
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, setSdkResponseMetadata
public 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.
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 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 DetectPHIResult 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 DetectPHIResult clone()