@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<ContactData> |
getContacts()
The contacts that meet the specified set of filter criteria, in sort order.
|
String |
getNextToken()
The token returned to indicate that there is more data available.
|
Integer |
getTotalCount()
The total number of contacts returned.
|
int |
hashCode() |
void |
setContacts(Collection<ContactData> contacts)
The contacts that meet the specified set of filter criteria, in sort order.
|
void |
setNextToken(String nextToken)
The token returned to indicate that there is more data available.
|
void |
setTotalCount(Integer totalCount)
The total number of contacts returned.
|
String |
toString()
Returns a string representation of this object.
|
SearchContactsResult |
withContacts(Collection<ContactData> contacts)
The contacts that meet the specified set of filter criteria, in sort order.
|
SearchContactsResult |
withContacts(ContactData... contacts)
The contacts that meet the specified set of filter criteria, in sort order.
|
SearchContactsResult |
withNextToken(String nextToken)
The token returned to indicate that there is more data available.
|
SearchContactsResult |
withTotalCount(Integer totalCount)
The total number of contacts returned.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ContactData> getContacts()
The contacts that meet the specified set of filter criteria, in sort order.
public void setContacts(Collection<ContactData> contacts)
The contacts that meet the specified set of filter criteria, in sort order.
contacts
- The contacts that meet the specified set of filter criteria, in sort order.public SearchContactsResult withContacts(ContactData... contacts)
The contacts that meet the specified set of filter criteria, in sort order.
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 that meet the specified set of filter criteria, in sort order.public SearchContactsResult withContacts(Collection<ContactData> contacts)
The contacts that meet the specified set of filter criteria, in sort order.
contacts
- The contacts that meet the specified set of filter criteria, in sort order.public void setNextToken(String nextToken)
The token returned to indicate that there is more data available.
nextToken
- The token returned to indicate that there is more data available.public String getNextToken()
The token returned to indicate that there is more data available.
public SearchContactsResult withNextToken(String nextToken)
The token returned to indicate that there is more data available.
nextToken
- The token returned to indicate that there is more data available.public void setTotalCount(Integer totalCount)
The total number of contacts returned.
totalCount
- The total number of contacts returned.public Integer getTotalCount()
The total number of contacts returned.
public SearchContactsResult withTotalCount(Integer totalCount)
The total number of contacts returned.
totalCount
- The total number of contacts returned.public String toString()
toString
in class Object
Object.toString()
public SearchContactsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.