Class CreateChannelMembershipRequest

    • Method Detail

      • channelArn

        public final String channelArn()

        The ARN of the channel to which you're adding users.

        Returns:
        The ARN of the channel to which you're adding users.
      • memberArn

        public final String memberArn()

        The AppInstanceUserArn of the member you want to add to the channel.

        Returns:
        The AppInstanceUserArn of the member you want to add to the channel.
      • type

        public final ChannelMembershipType type()

        The membership type of a user, DEFAULT or HIDDEN. Default members are always returned as part of ListChannelMemberships. Hidden members are only returned if the type filter in ListChannelMemberships equals HIDDEN. Otherwise hidden members are not returned. This is only supported by moderators.

        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 always returned as part of ListChannelMemberships. Hidden members are only returned if the type filter in ListChannelMemberships equals HIDDEN. Otherwise hidden members are not returned. This is only supported by moderators.
        See Also:
        ChannelMembershipType
      • typeAsString

        public final String typeAsString()

        The membership type of a user, DEFAULT or HIDDEN. Default members are always returned as part of ListChannelMemberships. Hidden members are only returned if the type filter in ListChannelMemberships equals HIDDEN. Otherwise hidden members are not returned. This is only supported by moderators.

        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 always returned as part of ListChannelMemberships. Hidden members are only returned if the type filter in ListChannelMemberships equals HIDDEN. Otherwise hidden members are not returned. This is only supported by moderators.
        See Also:
        ChannelMembershipType
      • 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 creating membership in a SubChannel for a moderator in an elastic channel.

        Returns:
        The ID of the SubChannel in the request.

        Only required when creating membership in a SubChannel for a moderator in 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