@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListChannelMessagesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListChannelMessagesRequest() |
Modifier and Type | Method and Description |
---|---|
ListChannelMessagesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getChannelArn()
The ARN of the channel.
|
String |
getChimeBearer()
The
AppInstanceUserArn of the user that makes the API call. |
Integer |
getMaxResults()
The maximum number of messages that you want returned.
|
String |
getNextToken()
The token passed by previous API calls until all requested messages are returned.
|
Date |
getNotAfter()
The final or ending time stamp for your requested messages.
|
Date |
getNotBefore()
The initial or starting time stamp for your requested messages.
|
String |
getSortOrder()
The order in which you want messages sorted.
|
int |
hashCode() |
void |
setChannelArn(String channelArn)
The ARN of the channel.
|
void |
setChimeBearer(String chimeBearer)
The
AppInstanceUserArn of the user that makes the API call. |
void |
setMaxResults(Integer maxResults)
The maximum number of messages that you want returned.
|
void |
setNextToken(String nextToken)
The token passed by previous API calls until all requested messages are returned.
|
void |
setNotAfter(Date notAfter)
The final or ending time stamp for your requested messages.
|
void |
setNotBefore(Date notBefore)
The initial or starting time stamp for your requested messages.
|
void |
setSortOrder(String sortOrder)
The order in which you want messages sorted.
|
String |
toString()
Returns a string representation of this object.
|
ListChannelMessagesRequest |
withChannelArn(String channelArn)
The ARN of the channel.
|
ListChannelMessagesRequest |
withChimeBearer(String chimeBearer)
The
AppInstanceUserArn of the user that makes the API call. |
ListChannelMessagesRequest |
withMaxResults(Integer maxResults)
The maximum number of messages that you want returned.
|
ListChannelMessagesRequest |
withNextToken(String nextToken)
The token passed by previous API calls until all requested messages are returned.
|
ListChannelMessagesRequest |
withNotAfter(Date notAfter)
The final or ending time stamp for your requested messages.
|
ListChannelMessagesRequest |
withNotBefore(Date notBefore)
The initial or starting time stamp for your requested messages.
|
ListChannelMessagesRequest |
withSortOrder(SortOrder sortOrder)
The order in which you want messages sorted.
|
ListChannelMessagesRequest |
withSortOrder(String sortOrder)
The order in which you want messages sorted.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setChannelArn(String channelArn)
The ARN of the channel.
channelArn
- The ARN of the channel.public String getChannelArn()
The ARN of the channel.
public ListChannelMessagesRequest withChannelArn(String channelArn)
The ARN of the channel.
channelArn
- The ARN of the channel.public void setSortOrder(String sortOrder)
The order in which you want messages sorted. Default is Descending, based on time created.
sortOrder
- The order in which you want messages sorted. Default is Descending, based on time created.SortOrder
public String getSortOrder()
The order in which you want messages sorted. Default is Descending, based on time created.
SortOrder
public ListChannelMessagesRequest withSortOrder(String sortOrder)
The order in which you want messages sorted. Default is Descending, based on time created.
sortOrder
- The order in which you want messages sorted. Default is Descending, based on time created.SortOrder
public ListChannelMessagesRequest withSortOrder(SortOrder sortOrder)
The order in which you want messages sorted. Default is Descending, based on time created.
sortOrder
- The order in which you want messages sorted. Default is Descending, based on time created.SortOrder
public void setNotBefore(Date notBefore)
The initial or starting time stamp for your requested messages.
notBefore
- The initial or starting time stamp for your requested messages.public Date getNotBefore()
The initial or starting time stamp for your requested messages.
public ListChannelMessagesRequest withNotBefore(Date notBefore)
The initial or starting time stamp for your requested messages.
notBefore
- The initial or starting time stamp for your requested messages.public void setNotAfter(Date notAfter)
The final or ending time stamp for your requested messages.
notAfter
- The final or ending time stamp for your requested messages.public Date getNotAfter()
The final or ending time stamp for your requested messages.
public ListChannelMessagesRequest withNotAfter(Date notAfter)
The final or ending time stamp for your requested messages.
notAfter
- The final or ending time stamp for your requested messages.public void setMaxResults(Integer maxResults)
The maximum number of messages that you want returned.
maxResults
- The maximum number of messages that you want returned.public Integer getMaxResults()
The maximum number of messages that you want returned.
public ListChannelMessagesRequest withMaxResults(Integer maxResults)
The maximum number of messages that you want returned.
maxResults
- The maximum number of messages that you want returned.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 ListChannelMessagesRequest 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 void setChimeBearer(String chimeBearer)
The AppInstanceUserArn
of the user that makes the API call.
chimeBearer
- The AppInstanceUserArn
of the user that makes the API call.public String getChimeBearer()
The AppInstanceUserArn
of the user that makes the API call.
AppInstanceUserArn
of the user that makes the API call.public ListChannelMessagesRequest withChimeBearer(String chimeBearer)
The AppInstanceUserArn
of the user that makes the API call.
chimeBearer
- The AppInstanceUserArn
of the user that makes the API call.public String toString()
toString
in class Object
Object.toString()
public ListChannelMessagesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()