Class SCBClientBuilder


  • public class SCBClientBuilder
    extends Object

    Builder class for constructing new clients.

    Since:
    1.2.0
    • Constructor Detail

      • SCBClientBuilder

        public SCBClientBuilder()

        Default constructor.

    • Method Detail

      • setLocale

        public SCBClientBuilder setLocale​(Locale locale)

        Sets the Locale for this builder, and therefore the client generated from this builder.

        Parameters:
        locale - the Locale to use
        Returns:
        the instance of this builder
      • build

        public SCBClient build()

        Generates a SCBClient with the previously assigned parameters.

        Returns:
        a SCBClient with parameters which were supplied to this builder