Interface UpdateChannelNamespaceRequest.Builder

    • Method Detail

      • name

        UpdateChannelNamespaceRequest.Builder name​(String name)

        The name of the ChannelNamespace.

        Parameters:
        name - The name of the ChannelNamespace.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subscribeAuthModes

        UpdateChannelNamespaceRequest.Builder subscribeAuthModes​(Collection<AuthMode> subscribeAuthModes)

        The authorization mode to use for subscribing to messages on the channel namespace. This configuration overrides the default Api authorization configuration.

        Parameters:
        subscribeAuthModes - The authorization mode to use for subscribing to messages on the channel namespace. This configuration overrides the default Api authorization configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subscribeAuthModes

        UpdateChannelNamespaceRequest.Builder subscribeAuthModes​(AuthMode... subscribeAuthModes)

        The authorization mode to use for subscribing to messages on the channel namespace. This configuration overrides the default Api authorization configuration.

        Parameters:
        subscribeAuthModes - The authorization mode to use for subscribing to messages on the channel namespace. This configuration overrides the default Api authorization configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subscribeAuthModes

        UpdateChannelNamespaceRequest.Builder subscribeAuthModes​(Consumer<AuthMode.Builder>... subscribeAuthModes)

        The authorization mode to use for subscribing to messages on the channel namespace. This configuration overrides the default Api authorization configuration.

        This is a convenience method that creates an instance of the AuthMode.Builder avoiding the need to create one manually via AuthMode.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #subscribeAuthModes(List).

        Parameters:
        subscribeAuthModes - a consumer that will call methods on AuthMode.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #subscribeAuthModes(java.util.Collection)
      • publishAuthModes

        UpdateChannelNamespaceRequest.Builder publishAuthModes​(Collection<AuthMode> publishAuthModes)

        The authorization mode to use for publishing messages on the channel namespace. This configuration overrides the default Api authorization configuration.

        Parameters:
        publishAuthModes - The authorization mode to use for publishing messages on the channel namespace. This configuration overrides the default Api authorization configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • publishAuthModes

        UpdateChannelNamespaceRequest.Builder publishAuthModes​(AuthMode... publishAuthModes)

        The authorization mode to use for publishing messages on the channel namespace. This configuration overrides the default Api authorization configuration.

        Parameters:
        publishAuthModes - The authorization mode to use for publishing messages on the channel namespace. This configuration overrides the default Api authorization configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • publishAuthModes

        UpdateChannelNamespaceRequest.Builder publishAuthModes​(Consumer<AuthMode.Builder>... publishAuthModes)

        The authorization mode to use for publishing messages on the channel namespace. This configuration overrides the default Api authorization configuration.

        This is a convenience method that creates an instance of the AuthMode.Builder avoiding the need to create one manually via AuthMode.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #publishAuthModes(List).

        Parameters:
        publishAuthModes - a consumer that will call methods on AuthMode.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #publishAuthModes(java.util.Collection)
      • codeHandlers

        UpdateChannelNamespaceRequest.Builder codeHandlers​(String codeHandlers)

        The event handler functions that run custom business logic to process published events and subscribe requests.

        Parameters:
        codeHandlers - The event handler functions that run custom business logic to process published events and subscribe requests.
        Returns:
        Returns a reference to this object so that method calls can be chained together.