DetectedLanguage Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. contentmoderator. models. DetectedLanguage
- com.
public class DetectedLanguage
Detect language result.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
detectedLanguage()
Get the detectedLanguage value. |
Status |
status()
Get the status value. |
String |
trackingId()
Get the trackingId value. |
Detected |
withDetectedLanguage(String detectedLanguage)
Set the detectedLanguage value. |
Detected |
withStatus(Status status)
Set the status value. |
Detected |
withTrackingId(String trackingId)
Set the trackingId value. |
Method Details
detectedLanguage
public String detectedLanguage()
Get the detectedLanguage value.
Returns:
status
public Status status()
Get the status value.
Returns:
trackingId
public String trackingId()
Get the trackingId value.
Returns:
withDetectedLanguage
public DetectedLanguage withDetectedLanguage(String detectedLanguage)
Set the detectedLanguage value.
Parameters:
Returns:
withStatus
public DetectedLanguage withStatus(Status status)
Set the status value.
Parameters:
Returns:
withTrackingId
public DetectedLanguage withTrackingId(String trackingId)
Set the trackingId value.
Parameters:
Returns:
Applies to
Azure SDK for Java