public class SCBClientBuilder extends Object
Builder class for constructing new clients.
Constructor and Description |
---|
SCBClientBuilder()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
SCBClient |
build()
Generates a
SCBClient with the previously assigned parameters. |
SCBClientBuilder |
setCommunicationProtocol(CommunicationProtocol communicationProtocol)
Sets the
CommunicationProtocol for this builder, and therefore the client generated from
this builder. |
SCBClientBuilder |
setLocale(Locale locale)
Sets the
Locale for this builder, and therefore the client
generated from this builder. |
public SCBClientBuilder setLocale(Locale locale)
Sets the Locale
for this builder, and therefore the client
generated from this builder.
locale
- the Locale
to usepublic SCBClientBuilder setCommunicationProtocol(CommunicationProtocol communicationProtocol)
Sets the
CommunicationProtocol
for this builder, and therefore the client generated from
this builder.
communicationProtocol
- the
CommunicationProtocol
to useCopyright © 2018. All rights reserved.