public static class DatastoreOptions.Builder extends Object
DatastoreOptions.| Constructor and Description |
|---|
Builder() |
Builder(DatastoreOptions options) |
| Modifier and Type | Method and Description |
|---|---|
DatastoreOptions |
build() |
DatastoreOptions.Builder |
credential(com.google.api.client.auth.oauth2.Credential newCredential)
Sets the Google APIs credentials used to access the API.
|
DatastoreOptions.Builder |
dataset(String newDataset)
Sets the dataset used to access the datastore.
|
DatastoreOptions.Builder |
host(String newHost)
Sets the host used to access the datastore.
|
DatastoreOptions.Builder |
initializer(com.google.api.client.http.HttpRequestInitializer newInitializer)
Sets the (optional) initializer to run on HTTP requests to the API.
|
DatastoreOptions.Builder |
transport(com.google.api.client.http.HttpTransport transport)
Sets the transport used to access the API.
|
public Builder()
public Builder(DatastoreOptions options)
public DatastoreOptions build()
public DatastoreOptions.Builder dataset(String newDataset)
public DatastoreOptions.Builder host(String newHost)
public DatastoreOptions.Builder initializer(com.google.api.client.http.HttpRequestInitializer newInitializer)
public DatastoreOptions.Builder credential(com.google.api.client.auth.oauth2.Credential newCredential)
public DatastoreOptions.Builder transport(com.google.api.client.http.HttpTransport transport)
Copyright © 2015. All rights reserved.