@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetectSyntaxResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
| DetectSyntaxResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| DetectSyntaxResult | clone() | 
| boolean | equals(Object obj) | 
| List<SyntaxToken> | getSyntaxTokens()
 A collection of syntax tokens describing the text. | 
| int | hashCode() | 
| void | setSyntaxTokens(Collection<SyntaxToken> syntaxTokens)
 A collection of syntax tokens describing the text. | 
| String | toString()Returns a string representation of this object. | 
| DetectSyntaxResult | withSyntaxTokens(Collection<SyntaxToken> syntaxTokens)
 A collection of syntax tokens describing the text. | 
| DetectSyntaxResult | withSyntaxTokens(SyntaxToken... syntaxTokens)
 A collection of syntax tokens describing the text. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<SyntaxToken> getSyntaxTokens()
A collection of syntax tokens describing the text. For each token, the response provides the text, the token type, where the text begins and ends, and the level of confidence that Amazon Comprehend has that the token is correct. For a list of token types, see how-syntax.
public void setSyntaxTokens(Collection<SyntaxToken> syntaxTokens)
A collection of syntax tokens describing the text. For each token, the response provides the text, the token type, where the text begins and ends, and the level of confidence that Amazon Comprehend has that the token is correct. For a list of token types, see how-syntax.
syntaxTokens - A collection of syntax tokens describing the text. For each token, the response provides the text, the
        token type, where the text begins and ends, and the level of confidence that Amazon Comprehend has that
        the token is correct. For a list of token types, see how-syntax.public DetectSyntaxResult withSyntaxTokens(SyntaxToken... syntaxTokens)
A collection of syntax tokens describing the text. For each token, the response provides the text, the token type, where the text begins and ends, and the level of confidence that Amazon Comprehend has that the token is correct. For a list of token types, see how-syntax.
 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 - A collection of syntax tokens describing the text. For each token, the response provides the text, the
        token type, where the text begins and ends, and the level of confidence that Amazon Comprehend has that
        the token is correct. For a list of token types, see how-syntax.public DetectSyntaxResult withSyntaxTokens(Collection<SyntaxToken> syntaxTokens)
A collection of syntax tokens describing the text. For each token, the response provides the text, the token type, where the text begins and ends, and the level of confidence that Amazon Comprehend has that the token is correct. For a list of token types, see how-syntax.
syntaxTokens - A collection of syntax tokens describing the text. For each token, the response provides the text, the
        token type, where the text begins and ends, and the level of confidence that Amazon Comprehend has that
        the token is correct. For a list of token types, see how-syntax.public String toString()
toString in class ObjectObject.toString()public DetectSyntaxResult clone()