Page Summary
-
ClientData.Builderis a class used to buildClientDataobjects and implementsCloneable. -
Key methods include
build()to create theClientData,newInstance()to get a builder instance, and setter methods likesetChallenge(),setChannelId(),setOrigin(), andsetType()to configure the data. -
The builder also includes a
clone()method to create a copy of the builder instance. -
It inherits standard methods from the
java.lang.Objectclass.
Builder for ClientData.
Public Method Summary
| ClientData |
build()
|
| ClientData.Builder |
clone()
Clones this builder instance.
|
| static ClientData.Builder | |
| ClientData.Builder | |
| ClientData.Builder | |
| ClientData.Builder | |
| ClientData.Builder |
Inherited Method Summary
Public Methods
public ClientData build ()
public ClientData.Builder clone ()
Clones this builder instance.
Returns
- A copy of this builder.
public static ClientData.Builder newInstance ()
public ClientData.Builder setChallenge (String challenge)
Set the client data challenge value.
public ClientData.Builder setChannelId (ChannelIdValue cidValue)
Set the client data ChannelIdValue.
public ClientData.Builder setOrigin (String origin)
Set the origin for the client data.
public ClientData.Builder setType (String type)
Set the type of the ClientData.