Class ListChannelMembershipsRequest

    • Method Detail

      • channelArn

        public final String channelArn()

        The maximum number of channel memberships that you want returned.

        Returns:
        The maximum number of channel memberships that you want returned.
      • type

        public final ChannelMembershipType type()

        The membership type of a user, DEFAULT or HIDDEN. Default members are returned as part of ListChannelMemberships if no type is specified. Hidden members are only returned if the type filter in ListChannelMemberships equals HIDDEN.

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

        Returns:
        The membership type of a user, DEFAULT or HIDDEN. Default members are returned as part of ListChannelMemberships if no type is specified. Hidden members are only returned if the type filter in ListChannelMemberships equals HIDDEN.
        See Also:
        ChannelMembershipType
      • typeAsString

        public final String typeAsString()

        The membership type of a user, DEFAULT or HIDDEN. Default members are returned as part of ListChannelMemberships if no type is specified. Hidden members are only returned if the type filter in ListChannelMemberships equals HIDDEN.

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

        Returns:
        The membership type of a user, DEFAULT or HIDDEN. Default members are returned as part of ListChannelMemberships if no type is specified. Hidden members are only returned if the type filter in ListChannelMemberships equals HIDDEN.
        See Also:
        ChannelMembershipType
      • maxResults

        public final Integer maxResults()

        The maximum number of channel memberships that you want returned.

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

        public final String nextToken()

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

        Returns:
        The token passed by previous API calls until all requested channel memberships 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 a user's memberships in a particular sub-channel of an elastic channel.

        Returns:
        The ID of the SubChannel in the request.

        Only required when listing a user's memberships in a particular sub-channel of an elastic channel.

      • 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