@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPagesByContactResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListPagesByContactResult() |
Modifier and Type | Method and Description |
---|---|
ListPagesByContactResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The pagination token to continue to the next page of results.
|
List<Page> |
getPages()
The list of engagements to a contact's contact channel.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The pagination token to continue to the next page of results.
|
void |
setPages(Collection<Page> pages)
The list of engagements to a contact's contact channel.
|
String |
toString()
Returns a string representation of this object.
|
ListPagesByContactResult |
withNextToken(String nextToken)
The pagination token to continue to the next page of results.
|
ListPagesByContactResult |
withPages(Collection<Page> pages)
The list of engagements to a contact's contact channel.
|
ListPagesByContactResult |
withPages(Page... pages)
The list of engagements to a contact's contact channel.
|
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 ListPagesByContactResult 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<Page> getPages()
The list of engagements to a contact's contact channel.
public void setPages(Collection<Page> pages)
The list of engagements to a contact's contact channel.
pages
- The list of engagements to a contact's contact channel.public ListPagesByContactResult withPages(Page... pages)
The list of engagements to a contact's contact channel.
NOTE: This method appends the values to the existing list (if any). Use
setPages(java.util.Collection)
or withPages(java.util.Collection)
if you want to override the
existing values.
pages
- The list of engagements to a contact's contact channel.public ListPagesByContactResult withPages(Collection<Page> pages)
The list of engagements to a contact's contact channel.
pages
- The list of engagements to a contact's contact channel.public String toString()
toString
in class Object
Object.toString()
public ListPagesByContactResult clone()