public static final class GraphServiceClient.Builder2
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
IGraphServiceClient |
buildClient()
Builds and returns the Graph service client.
|
GraphServiceClient.Builder2 |
executors(IExecutors executors)
Sets the executors
|
GraphServiceClient.Builder2 |
httpProvider(IHttpProvider httpProvider)
Sets the httpProvider
|
GraphServiceClient.Builder2 |
logger(ILogger logger)
Sets the logger
|
GraphServiceClient.Builder2 |
serializer(ISerializer serializer)
Sets the serializer.
|
public GraphServiceClient.Builder2 serializer(ISerializer serializer)
serializer - the serializerpublic GraphServiceClient.Builder2 httpProvider(IHttpProvider httpProvider)
httpProvider - the httpProviderpublic GraphServiceClient.Builder2 executors(IExecutors executors)
executors - the executorspublic GraphServiceClient.Builder2 logger(ILogger logger)
logger - the loggerpublic IGraphServiceClient buildClient() throws ClientException
ClientException - if there was an exception creating the client