@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchContactsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
SearchContactsResult() |
Modifier and Type | Method and Description |
---|---|
SearchContactsResult |
clone() |
boolean |
equals(Object obj) |
List<ContactSearchSummary> |
getContacts()
Information about the contacts.
|
String |
getNextToken()
If there are additional results, this is the token for the next set of results.
|
Long |
getTotalCount()
The total number of contacts which matched your search query.
|
int |
hashCode() |
void |
setContacts(Collection<ContactSearchSummary> contacts)
Information about the contacts.
|
void |
setNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
void |
setTotalCount(Long totalCount)
The total number of contacts which matched your search query.
|
String |
toString()
Returns a string representation of this object.
|
SearchContactsResult |
withContacts(Collection<ContactSearchSummary> contacts)
Information about the contacts.
|
SearchContactsResult |
withContacts(ContactSearchSummary... contacts)
Information about the contacts.
|
SearchContactsResult |
withNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
SearchContactsResult |
withTotalCount(Long totalCount)
The total number of contacts which matched your search query.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ContactSearchSummary> getContacts()
Information about the contacts.
public void setContacts(Collection<ContactSearchSummary> contacts)
Information about the contacts.
contacts
- Information about the contacts.public SearchContactsResult withContacts(ContactSearchSummary... contacts)
Information about the contacts.
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
- Information about the contacts.public SearchContactsResult withContacts(Collection<ContactSearchSummary> contacts)
Information about the contacts.
contacts
- Information about the contacts.public void setNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
nextToken
- If there are additional results, this is the token for the next set of results.public String getNextToken()
If there are additional results, this is the token for the next set of results.
public SearchContactsResult withNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
nextToken
- If there are additional results, this is the token for the next set of results.public void setTotalCount(Long totalCount)
The total number of contacts which matched your search query.
totalCount
- The total number of contacts which matched your search query.public Long getTotalCount()
The total number of contacts which matched your search query.
public SearchContactsResult withTotalCount(Long totalCount)
The total number of contacts which matched your search query.
totalCount
- The total number of contacts which matched your search query.public String toString()
toString
in class Object
Object.toString()
public SearchContactsResult clone()