public class DetectPiiEntitiesResult
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
DetectPiiEntitiesResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<PiiEntity> |
getEntities()
A collection of PII entities identified in the input text.
|
int |
hashCode() |
void |
setEntities(java.util.Collection<PiiEntity> entities)
A collection of PII entities identified in the input text.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DetectPiiEntitiesResult |
withEntities(java.util.Collection<PiiEntity> entities)
A collection of PII entities identified in the input text.
|
DetectPiiEntitiesResult |
withEntities(PiiEntity... entities)
A collection of PII entities identified in the input text.
|
public java.util.List<PiiEntity> getEntities()
A collection of PII entities identified in the input text. For each entity, the response provides the entity type, where the entity text begins and ends, and the level of confidence that Amazon Comprehend has in the detection.
A collection of PII entities identified in the input text. For each entity, the response provides the entity type, where the entity text begins and ends, and the level of confidence that Amazon Comprehend has in the detection.
public void setEntities(java.util.Collection<PiiEntity> entities)
A collection of PII entities identified in the input text. For each entity, the response provides the entity type, where the entity text begins and ends, and the level of confidence that Amazon Comprehend has in the detection.
entities - A collection of PII entities identified in the input text. For each entity, the response provides the entity type, where the entity text begins and ends, and the level of confidence that Amazon Comprehend has in the detection.
public DetectPiiEntitiesResult withEntities(PiiEntity... entities)
A collection of PII entities identified in the input text. For each entity, the response provides the entity type, where the entity text begins and ends, and the level of confidence that Amazon Comprehend has in the detection.
Returns a reference to this object so that method calls can be chained together.
entities - A collection of PII entities identified in the input text. For each entity, the response provides the entity type, where the entity text begins and ends, and the level of confidence that Amazon Comprehend has in the detection.
public DetectPiiEntitiesResult withEntities(java.util.Collection<PiiEntity> entities)
A collection of PII entities identified in the input text. For each entity, the response provides the entity type, where the entity text begins and ends, and the level of confidence that Amazon Comprehend has in the detection.
Returns a reference to this object so that method calls can be chained together.
entities - A collection of PII entities identified in the input text. For each entity, the response provides the entity type, where the entity text begins and ends, and the level of confidence that Amazon Comprehend has in the detection.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.