@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListChannelMessagesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListChannelMessagesResult() |
Modifier and Type | Method and Description |
---|---|
ListChannelMessagesResult |
clone() |
boolean |
equals(Object obj) |
String |
getChannelArn()
The ARN of the channel containing the requested messages.
|
List<ChannelMessageSummary> |
getChannelMessages()
The information about, and content of, each requested message.
|
String |
getNextToken()
The token passed by previous API calls until all requested messages are returned.
|
int |
hashCode() |
void |
setChannelArn(String channelArn)
The ARN of the channel containing the requested messages.
|
void |
setChannelMessages(Collection<ChannelMessageSummary> channelMessages)
The information about, and content of, each requested message.
|
void |
setNextToken(String nextToken)
The token passed by previous API calls until all requested messages are returned.
|
String |
toString()
Returns a string representation of this object.
|
ListChannelMessagesResult |
withChannelArn(String channelArn)
The ARN of the channel containing the requested messages.
|
ListChannelMessagesResult |
withChannelMessages(ChannelMessageSummary... channelMessages)
The information about, and content of, each requested message.
|
ListChannelMessagesResult |
withChannelMessages(Collection<ChannelMessageSummary> channelMessages)
The information about, and content of, each requested message.
|
ListChannelMessagesResult |
withNextToken(String nextToken)
The token passed by previous API calls until all requested messages are returned.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setChannelArn(String channelArn)
The ARN of the channel containing the requested messages.
channelArn
- The ARN of the channel containing the requested messages.public String getChannelArn()
The ARN of the channel containing the requested messages.
public ListChannelMessagesResult withChannelArn(String channelArn)
The ARN of the channel containing the requested messages.
channelArn
- The ARN of the channel containing the requested messages.public void setNextToken(String nextToken)
The token passed by previous API calls until all requested messages are returned.
nextToken
- The token passed by previous API calls until all requested messages are returned.public String getNextToken()
The token passed by previous API calls until all requested messages are returned.
public ListChannelMessagesResult withNextToken(String nextToken)
The token passed by previous API calls until all requested messages are returned.
nextToken
- The token passed by previous API calls until all requested messages are returned.public List<ChannelMessageSummary> getChannelMessages()
The information about, and content of, each requested message.
public void setChannelMessages(Collection<ChannelMessageSummary> channelMessages)
The information about, and content of, each requested message.
channelMessages
- The information about, and content of, each requested message.public ListChannelMessagesResult withChannelMessages(ChannelMessageSummary... channelMessages)
The information about, and content of, each requested message.
NOTE: This method appends the values to the existing list (if any). Use
setChannelMessages(java.util.Collection)
or withChannelMessages(java.util.Collection)
if you
want to override the existing values.
channelMessages
- The information about, and content of, each requested message.public ListChannelMessagesResult withChannelMessages(Collection<ChannelMessageSummary> channelMessages)
The information about, and content of, each requested message.
channelMessages
- The information about, and content of, each requested message.public String toString()
toString
in class Object
Object.toString()
public ListChannelMessagesResult clone()
Copyright © 2022. All rights reserved.