Class ListChannelsRequest

    • Method Detail

      • appInstanceArn

        public final String appInstanceArn()

        The ARN of the AppInstance.

        Returns:
        The ARN of the AppInstance.
      • privacy

        public final ChannelPrivacy privacy()

        The privacy setting. PUBLIC retrieves all the public channels. PRIVATE retrieves private channels. Only an AppInstanceAdmin can retrieve private channels.

        If the service returns an enum value that is not available in the current SDK version, privacy will return ChannelPrivacy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from privacyAsString().

        Returns:
        The privacy setting. PUBLIC retrieves all the public channels. PRIVATE retrieves private channels. Only an AppInstanceAdmin can retrieve private channels.
        See Also:
        ChannelPrivacy
      • privacyAsString

        public final String privacyAsString()

        The privacy setting. PUBLIC retrieves all the public channels. PRIVATE retrieves private channels. Only an AppInstanceAdmin can retrieve private channels.

        If the service returns an enum value that is not available in the current SDK version, privacy will return ChannelPrivacy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from privacyAsString().

        Returns:
        The privacy setting. PUBLIC retrieves all the public channels. PRIVATE retrieves private channels. Only an AppInstanceAdmin can retrieve private channels.
        See Also:
        ChannelPrivacy
      • maxResults

        public final Integer maxResults()

        The maximum number of channels that you want to return.

        Returns:
        The maximum number of channels that you want to return.
      • nextToken

        public final String nextToken()

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

        Returns:
        The token passed by previous API calls until all requested channels 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.
      • 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