Input Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.language.textanalytics.models.Input

public class Input

The Input model.

Method Summary

Modifier and Type Method and Description
String id()

Get the id value.

String text()

Get the text value.

Input withId(String id)

Set the id value.

Input withText(String text)

Set the text value.

Method Details

id

public String id()

Get the id value.

Returns:

the id value

text

public String text()

Get the text value.

Returns:

the text value

withId

public Input withId(String id)

Set the id value.

Parameters:

id - the id value to set

Returns:

the Input object itself.

withText

public Input withText(String text)

Set the text value.

Parameters:

text - the text value to set

Returns:

the Input object itself.

Applies to