@Generated(value="software.amazon.awssdk:codegen") public final class ListChannelMessagesRequest extends ChimeRequest implements ToCopyableBuilder<ListChannelMessagesRequest.Builder,ListChannelMessagesRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListChannelMessagesRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ListChannelMessagesRequest.Builder |
builder() |
String |
channelArn()
The ARN of the channel.
|
String |
chimeBearer()
The
AppInstanceUserArn of the user that makes the API call. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maxResults()
The maximum number of messages that you want returned.
|
String |
nextToken()
The token passed by previous API calls until all requested messages are returned.
|
Instant |
notAfter()
The final or ending time stamp for your requested messages.
|
Instant |
notBefore()
The initial or starting time stamp for your requested messages.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListChannelMessagesRequest.Builder> |
serializableBuilderClass() |
SortOrder |
sortOrder()
The order in which you want messages sorted.
|
String |
sortOrderAsString()
The order in which you want messages sorted.
|
ListChannelMessagesRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String channelArn()
The ARN of the channel.
public final SortOrder sortOrder()
The order in which you want messages sorted. Default is Descending, based on time created.
If the service returns an enum value that is not available in the current SDK version, sortOrder will
return SortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sortOrderAsString().
SortOrderpublic final String sortOrderAsString()
The order in which you want messages sorted. Default is Descending, based on time created.
If the service returns an enum value that is not available in the current SDK version, sortOrder will
return SortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sortOrderAsString().
SortOrderpublic final Instant notBefore()
The initial or starting time stamp for your requested messages.
public final Instant notAfter()
The final or ending time stamp for your requested messages.
public final Integer maxResults()
The maximum number of messages that you want returned.
public final String nextToken()
The token passed by previous API calls until all requested messages are returned.
public final String chimeBearer()
The AppInstanceUserArn of the user that makes the API call.
AppInstanceUserArn of the user that makes the API call.public ListChannelMessagesRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListChannelMessagesRequest.Builder,ListChannelMessagesRequest>toBuilder in class ChimeRequestpublic static ListChannelMessagesRequest.Builder builder()
public static Class<? extends ListChannelMessagesRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.