UsersServiceImpl.Builder

public static class UsersServiceImpl.Builder extends AbstractBuilder<UsersServiceImpl.Builder, Directory>

Builder for creating an instance of UsersServiceImpl

Inherited Field Summary

Public Constructor Summary

Public Method Summary

UsersServiceImpl
build()
Builds an instance of UsersServiceImpl
Set<String>
getApiScopes()
Returns API scopes to be use for making Google Admin SDK API requests.
Directory.Builder
getServiceBuilder(HttpTransport transport, JsonFactory jsonFactory, HttpRequestInitializer requestInitializer)
Gets an instance of Directory.Builder for creating an instance of Directory to make Google Admin SDK API requests.
UsersServiceImpl.Builder
getThis()
Returns this UsersServiceImpl.Builder instance
UsersServiceImpl.Builder
setBatchRequestService(BatchRequestService batchService)
Sets BatchRequestService to be used for request batching.
UsersServiceImpl.Builder
setCustomer(String customerId)
Sets customer ID to be used for syncing user identities.

Inherited Method Summary

Public Constructors

public UsersServiceImpl.Builder ()

Public Methods

public UsersServiceImpl build ()

Builds an instance of UsersServiceImpl

Returns
Throws
GeneralSecurityException
IOException

public Set<String> getApiScopes ()

Returns API scopes to be use for making Google Admin SDK API requests.

Returns
  • set of scopes to be used.

public Directory.Builder getServiceBuilder (HttpTransport transport, JsonFactory jsonFactory, HttpRequestInitializer requestInitializer)

Gets an instance of Directory.Builder for creating an instance of Directory to make Google Admin SDK API requests.

Parameters
transport HttpTranport to be used for creating AbstractGoogleJsonClient
jsonFactory JsonFactory to be used for creating AbstractGoogleJsonClient
requestInitializer HttpRequestInitializer to be used for creating AbstractGoogleJsonClient
Returns

public UsersServiceImpl.Builder getThis ()

Returns this UsersServiceImpl.Builder instance

Returns
  • current builder instance

public UsersServiceImpl.Builder setBatchRequestService (BatchRequestService batchService)

Sets BatchRequestService to be used for request batching.

Parameters
batchService to be used for request batching

public UsersServiceImpl.Builder setCustomer (String customerId)

Sets customer ID to be used for syncing user identities.

Parameters
customerId to be used for syncing user identities.

Skicka feedback om ...