@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()
A list of the contacts and escalation plans in your Incident Manager account.
|
String |
getNextToken()
The pagination token to continue to the next page of results.
|
int |
hashCode() |
void |
setContacts(Collection<Contact> contacts)
A list of the contacts and escalation plans in your Incident Manager account.
|
void |
setNextToken(String nextToken)
The pagination token to continue to the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
ListContactsResult |
withContacts(Collection<Contact> contacts)
A list of the contacts and escalation plans in your Incident Manager account.
|
ListContactsResult |
withContacts(Contact... contacts)
A list of the contacts and escalation plans in your Incident Manager account.
|
ListContactsResult |
withNextToken(String nextToken)
The pagination token to continue to the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
The pagination token to continue to the next page of results.
nextToken
- The pagination token to continue to the next page of results.public String getNextToken()
The pagination token to continue to the next page of results.
public ListContactsResult withNextToken(String nextToken)
The pagination token to continue to the next page of results.
nextToken
- The pagination token to continue to the next page of results.public List<Contact> getContacts()
A list of the contacts and escalation plans in your Incident Manager account.
public void setContacts(Collection<Contact> contacts)
A list of the contacts and escalation plans in your Incident Manager account.
contacts
- A list of the contacts and escalation plans in your Incident Manager account.public ListContactsResult withContacts(Contact... contacts)
A list of the contacts and escalation plans in your Incident Manager account.
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
- A list of the contacts and escalation plans in your Incident Manager account.public ListContactsResult withContacts(Collection<Contact> contacts)
A list of the contacts and escalation plans in your Incident Manager account.
contacts
- A list of the contacts and escalation plans in your Incident Manager account.public String toString()
toString
in class Object
Object.toString()
public ListContactsResult clone()