public class DetectPiiEntitiesRequest extends AmazonWebServiceRequest implements java.io.Serializable
Inspects the input text for entities that contain personally identifiable information (PII) and returns information about them.
Constructor and Description |
---|
DetectPiiEntitiesRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLanguageCode()
The language of the input documents.
|
java.lang.String |
getText()
A UTF-8 text string.
|
int |
hashCode() |
void |
setLanguageCode(LanguageCode languageCode)
The language of the input documents.
|
void |
setLanguageCode(java.lang.String languageCode)
The language of the input documents.
|
void |
setText(java.lang.String text)
A UTF-8 text string.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DetectPiiEntitiesRequest |
withLanguageCode(LanguageCode languageCode)
The language of the input documents.
|
DetectPiiEntitiesRequest |
withLanguageCode(java.lang.String languageCode)
The language of the input documents.
|
DetectPiiEntitiesRequest |
withText(java.lang.String text)
A UTF-8 text string.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getText()
A UTF-8 text string. Each string must contain fewer that 5,000 bytes of UTF-8 encoded characters.
Constraints:
Length: 1 -
A UTF-8 text string. Each string must contain fewer that 5,000 bytes of UTF-8 encoded characters.
public void setText(java.lang.String text)
A UTF-8 text string. Each string must contain fewer that 5,000 bytes of UTF-8 encoded characters.
Constraints:
Length: 1 -
text
- A UTF-8 text string. Each string must contain fewer that 5,000 bytes of UTF-8 encoded characters.
public DetectPiiEntitiesRequest withText(java.lang.String text)
A UTF-8 text string. Each string must contain fewer that 5,000 bytes of UTF-8 encoded characters.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
text
- A UTF-8 text string. Each string must contain fewer that 5,000 bytes of UTF-8 encoded characters.
public java.lang.String getLanguageCode()
The language of the input documents.
Constraints:
Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
The language of the input documents.
LanguageCode
public void setLanguageCode(java.lang.String languageCode)
The language of the input documents.
Constraints:
Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
languageCode
- The language of the input documents.
LanguageCode
public DetectPiiEntitiesRequest withLanguageCode(java.lang.String languageCode)
The language of the input documents.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
languageCode
- The language of the input documents.
LanguageCode
public void setLanguageCode(LanguageCode languageCode)
The language of the input documents.
Constraints:
Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
languageCode
- The language of the input documents.
LanguageCode
public DetectPiiEntitiesRequest withLanguageCode(LanguageCode languageCode)
The language of the input documents.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: en, es, fr, de, it, pt, ar, hi, ja, ko, zh, zh-TW
languageCode
- The language of the input documents.
LanguageCode
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.