@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPagesByEngagementResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListPagesByEngagementResult() |
Modifier and Type | Method and Description |
---|---|
ListPagesByEngagementResult |
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 contact channels.
|
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 contact channels.
|
String |
toString()
Returns a string representation of this object.
|
ListPagesByEngagementResult |
withNextToken(String nextToken)
The pagination token to continue to the next page of results.
|
ListPagesByEngagementResult |
withPages(Collection<Page> pages)
The list of engagements to contact channels.
|
ListPagesByEngagementResult |
withPages(Page... pages)
The list of engagements to contact channels.
|
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 ListPagesByEngagementResult 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 contact channels.
public void setPages(Collection<Page> pages)
The list of engagements to contact channels.
pages
- The list of engagements to contact channels.public ListPagesByEngagementResult withPages(Page... pages)
The list of engagements to contact channels.
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 contact channels.public ListPagesByEngagementResult withPages(Collection<Page> pages)
The list of engagements to contact channels.
pages
- The list of engagements to contact channels.public String toString()
toString
in class Object
Object.toString()
public ListPagesByEngagementResult clone()