@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchDetectKeyPhrasesItemResult extends Object implements Serializable, Cloneable, StructuredPojo
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 |
|---|---|
BatchDetectKeyPhrasesItemResult |
clone() |
boolean |
equals(Object obj) |
Integer |
getIndex()
The zero-based index of the document in the input list.
|
List<KeyPhrase> |
getKeyPhrases()
One or more KeyPhrase objects, one for each key phrase detected in the document.
|
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 |
setKeyPhrases(Collection<KeyPhrase> keyPhrases)
One or more KeyPhrase objects, one for each key phrase detected in the document.
|
String |
toString()
Returns a string representation of this object.
|
BatchDetectKeyPhrasesItemResult |
withIndex(Integer index)
The zero-based index of the document in the input list.
|
BatchDetectKeyPhrasesItemResult |
withKeyPhrases(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 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 BatchDetectKeyPhrasesItemResult 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<KeyPhrase> getKeyPhrases()
One or more KeyPhrase objects, one for each key phrase detected in the document.
public void setKeyPhrases(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.
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 - One or more KeyPhrase objects, one for each key phrase detected in the document.public BatchDetectKeyPhrasesItemResult withKeyPhrases(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 String toString()
toString in class ObjectObject.toString()public BatchDetectKeyPhrasesItemResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.