Class ListChannelMessagesRequest

    • Method Detail

      • channelArn

        public final String channelArn()

        The ARN of the channel.

        Returns:
        The ARN of the channel.
      • sortOrder

        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().

        Returns:
        The order in which you want messages sorted. Default is Descending, based on time created.
        See Also:
        SortOrder
      • sortOrderAsString

        public 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().

        Returns:
        The order in which you want messages sorted. Default is Descending, based on time created.
        See Also:
        SortOrder
      • notBefore

        public final Instant notBefore()

        The initial or starting time stamp for your requested messages.

        Returns:
        The initial or starting time stamp for your requested messages.
      • notAfter

        public final Instant notAfter()

        The final or ending time stamp for your requested messages.

        Returns:
        The final or ending time stamp for your requested messages.
      • maxResults

        public final Integer maxResults()

        The maximum number of messages that you want returned.

        Returns:
        The maximum number of messages that you want returned.
      • nextToken

        public final String nextToken()

        The token passed by previous API calls until all requested messages are returned.

        Returns:
        The token passed by previous API calls until all requested messages are returned.
      • chimeBearer

        public final String chimeBearer()

        The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.

        Returns:
        The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.
      • subChannelId

        public final String subChannelId()

        The ID of the SubChannel in the request.

        Only required when listing the messages in a SubChannel that the user belongs to.

        Returns:
        The ID of the SubChannel in the request.

        Only required when listing the messages in a SubChannel that the user belongs to.

      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object