@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetectPiiEntitiesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
| DetectPiiEntitiesResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| DetectPiiEntitiesResult | clone() | 
| boolean | equals(Object obj) | 
| List<PiiEntity> | getEntities()
 A collection of PII entities identified in the input text. | 
| int | hashCode() | 
| void | setEntities(Collection<PiiEntity> entities)
 A collection of PII entities identified in the input text. | 
| String | toString()Returns a string representation of this object. | 
| DetectPiiEntitiesResult | withEntities(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. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic 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.
public void setEntities(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.
 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 - 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(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 String toString()
toString in class ObjectObject.toString()public DetectPiiEntitiesResult clone()