@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListContactsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
| ListContactsResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| ListContactsResult | clone() | 
| boolean | equals(Object obj) | 
| List<Contact> | getContacts()
 The contacts present in a specific contact list. | 
| String | getNextToken()
 A string token indicating that there might be additional contacts available to be listed. | 
| int | hashCode() | 
| void | setContacts(Collection<Contact> contacts)
 The contacts present in a specific contact list. | 
| void | setNextToken(String nextToken)
 A string token indicating that there might be additional contacts available to be listed. | 
| String | toString()Returns a string representation of this object. | 
| ListContactsResult | withContacts(Collection<Contact> contacts)
 The contacts present in a specific contact list. | 
| ListContactsResult | withContacts(Contact... contacts)
 The contacts present in a specific contact list. | 
| ListContactsResult | withNextToken(String nextToken)
 A string token indicating that there might be additional contacts available to be listed. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<Contact> getContacts()
The contacts present in a specific contact list.
public void setContacts(Collection<Contact> contacts)
The contacts present in a specific contact list.
contacts - The contacts present in a specific contact list.public ListContactsResult withContacts(Contact... contacts)
The contacts present in a specific contact list.
 NOTE: This method appends the values to the existing list (if any). Use
 setContacts(java.util.Collection) or withContacts(java.util.Collection) if you want to override
 the existing values.
 
contacts - The contacts present in a specific contact list.public ListContactsResult withContacts(Collection<Contact> contacts)
The contacts present in a specific contact list.
contacts - The contacts present in a specific contact list.public void setNextToken(String nextToken)
 A string token indicating that there might be additional contacts available to be listed. Copy this token to a
 subsequent call to ListContacts with the same parameters to retrieve the next page of contacts.
 
nextToken - A string token indicating that there might be additional contacts available to be listed. Copy this token
        to a subsequent call to ListContacts with the same parameters to retrieve the next page of
        contacts.public String getNextToken()
 A string token indicating that there might be additional contacts available to be listed. Copy this token to a
 subsequent call to ListContacts with the same parameters to retrieve the next page of contacts.
 
ListContacts with the same parameters to retrieve the next page of
         contacts.public ListContactsResult withNextToken(String nextToken)
 A string token indicating that there might be additional contacts available to be listed. Copy this token to a
 subsequent call to ListContacts with the same parameters to retrieve the next page of contacts.
 
nextToken - A string token indicating that there might be additional contacts available to be listed. Copy this token
        to a subsequent call to ListContacts with the same parameters to retrieve the next page of
        contacts.public String toString()
toString in class ObjectObject.toString()public ListContactsResult clone()