public class DetectKeyPhrasesResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
DetectKeyPhrasesResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<KeyPhrase> |
getKeyPhrases()
A collection of key phrases that Amazon Comprehend identified in the
input text.
|
int |
hashCode() |
void |
setKeyPhrases(java.util.Collection<KeyPhrase> keyPhrases)
A collection of key phrases that Amazon Comprehend identified in the
input text.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DetectKeyPhrasesResult |
withKeyPhrases(java.util.Collection<KeyPhrase> keyPhrases)
A collection of key phrases that Amazon Comprehend identified in the
input text.
|
DetectKeyPhrasesResult |
withKeyPhrases(KeyPhrase... keyPhrases)
A collection of key phrases that Amazon Comprehend identified in the
input text.
|
public java.util.List<KeyPhrase> getKeyPhrases()
A collection of key phrases that Amazon Comprehend identified in the input text. For each key phrase, the response provides the text of the key phrase, where the key phrase begins and ends, and the level of confidence that Amazon Comprehend has in the accuracy of the detection.
A collection of key phrases that Amazon Comprehend identified in the input text. For each key phrase, the response provides the text of the key phrase, where the key phrase begins and ends, and the level of confidence that Amazon Comprehend has in the accuracy of the detection.
public void setKeyPhrases(java.util.Collection<KeyPhrase> keyPhrases)
A collection of key phrases that Amazon Comprehend identified in the input text. For each key phrase, the response provides the text of the key phrase, where the key phrase begins and ends, and the level of confidence that Amazon Comprehend has in the accuracy of the detection.
keyPhrases
- A collection of key phrases that Amazon Comprehend identified in the input text. For each key phrase, the response provides the text of the key phrase, where the key phrase begins and ends, and the level of confidence that Amazon Comprehend has in the accuracy of the detection.
public DetectKeyPhrasesResult withKeyPhrases(KeyPhrase... keyPhrases)
A collection of key phrases that Amazon Comprehend identified in the input text. For each key phrase, the response provides the text of the key phrase, where the key phrase begins and ends, and the level of confidence that Amazon Comprehend has in the accuracy of the detection.
Returns a reference to this object so that method calls can be chained together.
keyPhrases
- A collection of key phrases that Amazon Comprehend identified in the input text. For each key phrase, the response provides the text of the key phrase, where the key phrase begins and ends, and the level of confidence that Amazon Comprehend has in the accuracy of the detection.
public DetectKeyPhrasesResult withKeyPhrases(java.util.Collection<KeyPhrase> keyPhrases)
A collection of key phrases that Amazon Comprehend identified in the input text. For each key phrase, the response provides the text of the key phrase, where the key phrase begins and ends, and the level of confidence that Amazon Comprehend has in the accuracy of the detection.
Returns a reference to this object so that method calls can be chained together.
keyPhrases
- A collection of key phrases that Amazon Comprehend identified in the input text. For each key phrase, the response provides the text of the key phrase, where the key phrase begins and ends, and the level of confidence that Amazon Comprehend has in the accuracy of the detection.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.