Interface SdkProvider.Builder<T extends SdkService>

    • Method Detail

      • providerId

        SdkProvider.Builder<T> providerId​(String providerId)
        Sets the provider ID for the Provider being built.
        Parameters:
        providerId - A String representing the provider's ID.
        Returns:
        This Builder instance for method chaining.
      • getProviderId

        String getProviderId()
        Returns the providerId set on this builder.
        Returns:
        the id of the provider this builder is from.
      • withProperties

        SdkProvider.Builder<T> withProperties​(Properties properties)
        Catch-all for substrate-specific configuration parameters not reflected in the Builder api.
        Parameters:
        properties - the properties to pass to the substrate specific implementation
        Returns:
        This Builder instance for method chaining.
      • getProperties

        Properties getProperties()
        Returns the custom properties set on this builder.
        Returns:
        the properties previously set on this builder.
      • build

        T build()
        Performs the logic to build the target service instance.
        Returns:
        the service configured through this builder.