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