Input Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. textanalytics. models. Input
- com.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for