@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetectKeyPhrasesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DetectKeyPhrasesResult() |
Modifier and Type | Method and Description |
---|---|
DetectKeyPhrasesResult |
clone() |
boolean |
equals(Object obj) |
List<KeyPhrase> |
getKeyPhrases()
A collection of key phrases that Amazon Comprehend identified in the input text.
|
int |
hashCode() |
void |
setKeyPhrases(Collection<KeyPhrase> keyPhrases)
A collection of key phrases that Amazon Comprehend identified in the input text.
|
String |
toString()
Returns a string representation of this object.
|
DetectKeyPhrasesResult |
withKeyPhrases(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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public 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.
public void setKeyPhrases(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.
NOTE: This method appends the values to the existing list (if any). Use
setKeyPhrases(java.util.Collection)
or withKeyPhrases(java.util.Collection)
if you want to
override the existing values.
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(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 String toString()
toString
in class Object
Object.toString()
public DetectKeyPhrasesResult clone()