### YamlMime:JavaType uid: "com.azure.ai.translation.text.models.InputTextItem" fullName: "com.azure.ai.translation.text.models.InputTextItem" name: "InputTextItem" nameWithType: "InputTextItem" summary: "Element containing the text for translation." inheritances: - "" inheritedClassMethods: - classRef: "java.lang.Object" methodsRef: - "clone" - "equals" - "finalize" - "getClass" - "hashCode" - "notify" - "notifyAll" - "toString" - "wait" - "wait" - "wait" syntax: "public class **InputTextItem**" constructors: - uid: "com.azure.ai.translation.text.models.InputTextItem.InputTextItem(java.lang.String)" fullName: "com.azure.ai.translation.text.models.InputTextItem.InputTextItem(String text)" name: "InputTextItem(String text)" nameWithType: "InputTextItem.InputTextItem(String text)" summary: "Creates an instance of InputTextItem class." parameters: - description: "the text value to set." name: "text" type: "String" syntax: "public InputTextItem(String text)" desc: "Creates an instance of InputTextItem class." methods: - uid: "com.azure.ai.translation.text.models.InputTextItem.getText()" fullName: "com.azure.ai.translation.text.models.InputTextItem.getText()" name: "getText()" nameWithType: "InputTextItem.getText()" summary: "Get the text property: Text to translate." syntax: "public String getText()" desc: "Get the text property: Text to translate." returns: description: "the text value." type: "String" type: "class" desc: "Element containing the text for translation." metadata: {} package: "com.azure.ai.translation.text.models" artifact: com.azure:azure-ai-translation-text:1.0.0