你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DetectedLanguage Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.vision.contentmoderator.models.DetectedLanguage

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.

DetectedLanguage withDetectedLanguage(String detectedLanguage)

Set the detectedLanguage value.

DetectedLanguage withStatus(Status status)

Set the status value.

DetectedLanguage withTrackingId(String trackingId)

Set the trackingId value.

Method Details

detectedLanguage

public String detectedLanguage()

Get the detectedLanguage value.

Returns:

the detectedLanguage value

status

public Status status()

Get the status value.

Returns:

the status value

trackingId

public String trackingId()

Get the trackingId value.

Returns:

the trackingId value

withDetectedLanguage

public DetectedLanguage withDetectedLanguage(String detectedLanguage)

Set the detectedLanguage value.

Parameters:

detectedLanguage - the detectedLanguage value to set

Returns:

the DetectedLanguage object itself.

withStatus

public DetectedLanguage withStatus(Status status)

Set the status value.

Parameters:

status - the status value to set

Returns:

the DetectedLanguage object itself.

withTrackingId

public DetectedLanguage withTrackingId(String trackingId)

Set the trackingId value.

Parameters:

trackingId - the trackingId value to set

Returns:

the DetectedLanguage object itself.

Applies to