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 credential)
Sets the Google APIs
Credential used to access Datastore. |
DatastoreOptions.Builder |
initializer(com.google.api.client.http.HttpRequestInitializer initializer)
Sets the (optional) initializer to run on HTTP requests to Datastore.
|
DatastoreOptions.Builder |
localHost(String localHost)
Sets the host used to access Datastore.
|
DatastoreOptions.Builder |
projectEndpoint(String projectEndpoint)
Sets the project endpoint used to access Datastore.
|
DatastoreOptions.Builder |
projectId(String projectId)
Sets the project ID used to access Datastore.
|
DatastoreOptions.Builder |
transport(com.google.api.client.http.HttpTransport transport)
Sets the transport used to access Datastore.
|
public Builder()
public Builder(DatastoreOptions options)
public DatastoreOptions build()
public DatastoreOptions.Builder projectId(String projectId)
public DatastoreOptions.Builder localHost(String localHost)
public DatastoreOptions.Builder projectEndpoint(String projectEndpoint)
public DatastoreOptions.Builder initializer(com.google.api.client.http.HttpRequestInitializer initializer)
public DatastoreOptions.Builder credential(com.google.api.client.auth.oauth2.Credential credential)
Credential used to access Datastore.public DatastoreOptions.Builder transport(com.google.api.client.http.HttpTransport transport)
Copyright © 2016. All rights reserved.