Interface EventConfig.Builder

    • Method Detail

      • authProviders

        EventConfig.Builder authProviders​(Collection<AuthProvider> authProviders)

        A list of authorization providers.

        Parameters:
        authProviders - A list of authorization providers.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • authProviders

        EventConfig.Builder authProviders​(AuthProvider... authProviders)

        A list of authorization providers.

        Parameters:
        authProviders - A list of authorization providers.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • connectionAuthModes

        EventConfig.Builder connectionAuthModes​(Collection<AuthMode> connectionAuthModes)

        A list of valid authorization modes for the Event API connections.

        Parameters:
        connectionAuthModes - A list of valid authorization modes for the Event API connections.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • connectionAuthModes

        EventConfig.Builder connectionAuthModes​(AuthMode... connectionAuthModes)

        A list of valid authorization modes for the Event API connections.

        Parameters:
        connectionAuthModes - A list of valid authorization modes for the Event API connections.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • connectionAuthModes

        EventConfig.Builder connectionAuthModes​(Consumer<AuthMode.Builder>... connectionAuthModes)

        A list of valid authorization modes for the Event API connections.

        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 #connectionAuthModes(List).

        Parameters:
        connectionAuthModes - 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:
        #connectionAuthModes(java.util.Collection)
      • defaultPublishAuthModes

        EventConfig.Builder defaultPublishAuthModes​(Collection<AuthMode> defaultPublishAuthModes)

        A list of valid authorization modes for the Event API publishing.

        Parameters:
        defaultPublishAuthModes - A list of valid authorization modes for the Event API publishing.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • defaultPublishAuthModes

        EventConfig.Builder defaultPublishAuthModes​(AuthMode... defaultPublishAuthModes)

        A list of valid authorization modes for the Event API publishing.

        Parameters:
        defaultPublishAuthModes - A list of valid authorization modes for the Event API publishing.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • defaultPublishAuthModes

        EventConfig.Builder defaultPublishAuthModes​(Consumer<AuthMode.Builder>... defaultPublishAuthModes)

        A list of valid authorization modes for the Event API publishing.

        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 #defaultPublishAuthModes(List).

        Parameters:
        defaultPublishAuthModes - 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:
        #defaultPublishAuthModes(java.util.Collection)
      • defaultSubscribeAuthModes

        EventConfig.Builder defaultSubscribeAuthModes​(Collection<AuthMode> defaultSubscribeAuthModes)

        A list of valid authorization modes for the Event API subscriptions.

        Parameters:
        defaultSubscribeAuthModes - A list of valid authorization modes for the Event API subscriptions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • defaultSubscribeAuthModes

        EventConfig.Builder defaultSubscribeAuthModes​(AuthMode... defaultSubscribeAuthModes)

        A list of valid authorization modes for the Event API subscriptions.

        Parameters:
        defaultSubscribeAuthModes - A list of valid authorization modes for the Event API subscriptions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • defaultSubscribeAuthModes

        EventConfig.Builder defaultSubscribeAuthModes​(Consumer<AuthMode.Builder>... defaultSubscribeAuthModes)

        A list of valid authorization modes for the Event API subscriptions.

        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 #defaultSubscribeAuthModes(List).

        Parameters:
        defaultSubscribeAuthModes - 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:
        #defaultSubscribeAuthModes(java.util.Collection)
      • logConfig

        EventConfig.Builder logConfig​(EventLogConfig logConfig)

        The CloudWatch Logs configuration for the Event API.

        Parameters:
        logConfig - The CloudWatch Logs configuration for the Event API.
        Returns:
        Returns a reference to this object so that method calls can be chained together.