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