public class BatchDetectKeyPhrasesItemResult
extends java.lang.Object
implements java.io.Serializable
The result of calling the operation. The operation returns one object for each document that is successfully processed by the operation.
| Constructor and Description | 
|---|
BatchDetectKeyPhrasesItemResult()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(java.lang.Object obj)  | 
java.lang.Integer | 
getIndex()
 The zero-based index of the document in the input list. 
 | 
java.util.List<KeyPhrase> | 
getKeyPhrases()
 One or more KeyPhrase objects, one for each key phrase detected in
 the document. 
 | 
int | 
hashCode()  | 
void | 
setIndex(java.lang.Integer index)
 The zero-based index of the document in the input list. 
 | 
void | 
setKeyPhrases(java.util.Collection<KeyPhrase> keyPhrases)
 One or more KeyPhrase objects, one for each key phrase detected in
 the document. 
 | 
java.lang.String | 
toString()
Returns a string representation of this object; useful for testing and
 debugging. 
 | 
BatchDetectKeyPhrasesItemResult | 
withIndex(java.lang.Integer index)
 The zero-based index of the document in the input list. 
 | 
BatchDetectKeyPhrasesItemResult | 
withKeyPhrases(java.util.Collection<KeyPhrase> keyPhrases)
 One or more KeyPhrase objects, one for each key phrase detected in
 the document. 
 | 
BatchDetectKeyPhrasesItemResult | 
withKeyPhrases(KeyPhrase... keyPhrases)
 One or more KeyPhrase objects, one for each key phrase detected in
 the document. 
 | 
public java.lang.Integer getIndex()
The zero-based index of the document in the input list.
The zero-based index of the document in the input list.
public void setIndex(java.lang.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 BatchDetectKeyPhrasesItemResult withIndex(java.lang.Integer index)
The zero-based index of the document in the input list.
Returns a reference to this object so that method calls can be chained together.
index - The zero-based index of the document in the input list.
public java.util.List<KeyPhrase> getKeyPhrases()
One or more KeyPhrase objects, one for each key phrase detected in the document.
One or more KeyPhrase objects, one for each key phrase detected in the document.
public void setKeyPhrases(java.util.Collection<KeyPhrase> keyPhrases)
One or more KeyPhrase objects, one for each key phrase detected in the document.
keyPhrases - One or more KeyPhrase objects, one for each key phrase detected in the document.
public BatchDetectKeyPhrasesItemResult withKeyPhrases(KeyPhrase... keyPhrases)
One or more KeyPhrase objects, one for each key phrase detected in the document.
Returns a reference to this object so that method calls can be chained together.
keyPhrases - One or more KeyPhrase objects, one for each key phrase detected in the document.
public BatchDetectKeyPhrasesItemResult withKeyPhrases(java.util.Collection<KeyPhrase> keyPhrases)
One or more KeyPhrase objects, one for each key phrase detected in the document.
Returns a reference to this object so that method calls can be chained together.
keyPhrases - One or more KeyPhrase objects, one for each key phrase detected in the document.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.