Screen Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. contentmoderator. models. Screen
- com.
public class Screen
The response for a Screen text request.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
autoCorrectedText()
Get the autoCorrectedText value. |
Classification |
classification()
Get the classification value. |
String |
language()
Get the language value. |
List<String> |
misrepresentation()
Get the misrepresentation value. |
String |
normalizedText()
Get the normalizedText value. |
String |
originalText()
Get the originalText value. |
PII |
pII()
Get the pII value. |
Status |
status()
Get the status value. |
List<Detected |
terms()
Get the terms value. |
String |
trackingId()
Get the trackingId value. |
Screen |
withAutoCorrectedText(String autoCorrectedText)
Set the autoCorrectedText value. |
Screen |
withClassification(Classification classification)
Set the classification value. |
Screen |
withLanguage(String language)
Set the language value. |
Screen |
withMisrepresentation(List<String> misrepresentation)
Set the misrepresentation value. |
Screen |
withNormalizedText(String normalizedText)
Set the normalizedText value. |
Screen |
withOriginalText(String originalText)
Set the originalText value. |
Screen |
withPII(PII pII)
Set the pII value. |
Screen |
withStatus(Status status)
Set the status value. |
Screen |
withTerms(List<DetectedTerms> terms)
Set the terms value. |
Screen |
withTrackingId(String trackingId)
Set the trackingId value. |
Method Details
autoCorrectedText
public String autoCorrectedText()
Get the autoCorrectedText value.
Returns:
classification
public Classification classification()
Get the classification value.
Returns:
language
public String language()
Get the language value.
Returns:
misrepresentation
public List
Get the misrepresentation value.
Returns:
normalizedText
public String normalizedText()
Get the normalizedText value.
Returns:
originalText
public String originalText()
Get the originalText value.
Returns:
pII
public PII pII()
Get the pII value.
Returns:
status
public Status status()
Get the status value.
Returns:
terms
public List
Get the terms value.
Returns:
trackingId
public String trackingId()
Get the trackingId value.
Returns:
withAutoCorrectedText
public Screen withAutoCorrectedText(String autoCorrectedText)
Set the autoCorrectedText value.
Parameters:
Returns:
withClassification
public Screen withClassification(Classification classification)
Set the classification value.
Parameters:
Returns:
withLanguage
public Screen withLanguage(String language)
Set the language value.
Parameters:
Returns:
withMisrepresentation
public Screen withMisrepresentation(List
Set the misrepresentation value.
Parameters:
Returns:
withNormalizedText
public Screen withNormalizedText(String normalizedText)
Set the normalizedText value.
Parameters:
Returns:
withOriginalText
public Screen withOriginalText(String originalText)
Set the originalText value.
Parameters:
Returns:
withPII
public Screen withPII(PII pII)
Set the pII value.
Parameters:
Returns:
withStatus
public Screen withStatus(Status status)
Set the status value.
Parameters:
Returns:
withTerms
public Screen withTerms(List
Set the terms value.
Parameters:
Returns:
withTrackingId
public Screen withTrackingId(String trackingId)
Set the trackingId value.
Parameters:
Returns:
Applies to
Azure SDK for Java