ConsumerApiOptions.Builder
Builder for ConsumerApiOptions.
Inherited Method Summary
From class java.lang.Object
Object
|
clone()
|
boolean |
|
void |
finalize()
|
final Class<?>
|
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String
|
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
Public Methods
Sets the Fleet Engine server address.
Sets the string used to identify the provider.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-31 UTC.
[null,null,["Last updated 2024-07-31 UTC."],[[["`ConsumerApiOptions.Builder` is used to create instances of `ConsumerApiOptions`, which are configurations for the Consumer API."],["You can set the Fleet Engine server address using `setFleetEngineAddress(String fleetEngineAddress)`."],["You can identify the provider using `setProviderId(String providerId)`."],["Finally, call `build()` to create an immutable instance of `ConsumerApiOptions` with the specified configurations."]]],["The `ConsumerApiOptions.Builder` class facilitates the creation of `ConsumerApiOptions` objects. Key actions include setting the Fleet Engine server address using `setFleetEngineAddress` and defining the provider identifier with `setProviderId`. The `build` method is used to finalize and construct the `ConsumerApiOptions` instance. Inherited methods like `equals`, `hashCode`, and `toString` are available from the parent `Object` class.\n"]]