@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchDetectSyntaxItemResult extends Object implements Serializable, Cloneable, StructuredPojo
The result of calling the operation. The operation returns one object that is successfully processed by the operation.
| Constructor and Description |
|---|
BatchDetectSyntaxItemResult() |
| Modifier and Type | Method and Description |
|---|---|
BatchDetectSyntaxItemResult |
clone() |
boolean |
equals(Object obj) |
Integer |
getIndex()
The zero-based index of the document in the input list.
|
List<SyntaxToken> |
getSyntaxTokens()
The syntax tokens for the words in the document, one token for each word.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setIndex(Integer index)
The zero-based index of the document in the input list.
|
void |
setSyntaxTokens(Collection<SyntaxToken> syntaxTokens)
The syntax tokens for the words in the document, one token for each word.
|
String |
toString()
Returns a string representation of this object.
|
BatchDetectSyntaxItemResult |
withIndex(Integer index)
The zero-based index of the document in the input list.
|
BatchDetectSyntaxItemResult |
withSyntaxTokens(Collection<SyntaxToken> syntaxTokens)
The syntax tokens for the words in the document, one token for each word.
|
BatchDetectSyntaxItemResult |
withSyntaxTokens(SyntaxToken... syntaxTokens)
The syntax tokens for the words in the document, one token for each word.
|
public void setIndex(Integer index)
The zero-based index of the document in the input list.
index - The zero-based index of the document in the input list.public Integer getIndex()
The zero-based index of the document in the input list.
public BatchDetectSyntaxItemResult withIndex(Integer index)
The zero-based index of the document in the input list.
index - The zero-based index of the document in the input list.public List<SyntaxToken> getSyntaxTokens()
The syntax tokens for the words in the document, one token for each word.
public void setSyntaxTokens(Collection<SyntaxToken> syntaxTokens)
The syntax tokens for the words in the document, one token for each word.
syntaxTokens - The syntax tokens for the words in the document, one token for each word.public BatchDetectSyntaxItemResult withSyntaxTokens(SyntaxToken... syntaxTokens)
The syntax tokens for the words in the document, one token for each word.
NOTE: This method appends the values to the existing list (if any). Use
setSyntaxTokens(java.util.Collection) or withSyntaxTokens(java.util.Collection) if you want to
override the existing values.
syntaxTokens - The syntax tokens for the words in the document, one token for each word.public BatchDetectSyntaxItemResult withSyntaxTokens(Collection<SyntaxToken> syntaxTokens)
The syntax tokens for the words in the document, one token for each word.
syntaxTokens - The syntax tokens for the words in the document, one token for each word.public String toString()
toString in class ObjectObject.toString()public BatchDetectSyntaxItemResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.