Class LocalDatastoreHelper.Builder (2.17.6)

public static class LocalDatastoreHelper.Builder

A builder for LocalDatastoreHelper objects.

Inheritance

java.lang.Object > LocalDatastoreHelper.Builder

Methods

build()

public LocalDatastoreHelper build()

Creates a LocalDatastoreHelper object.

Returns
TypeDescription
LocalDatastoreHelper

setConsistency(double consistency)

public LocalDatastoreHelper.Builder setConsistency(double consistency)
Parameter
NameDescription
consistencydouble
Returns
TypeDescription
LocalDatastoreHelper.Builder

setDataDir(Path dataDir)

public LocalDatastoreHelper.Builder setDataDir(Path dataDir)
Parameter
NameDescription
dataDirPath
Returns
TypeDescription
LocalDatastoreHelper.Builder

setPort(int port)

public LocalDatastoreHelper.Builder setPort(int port)
Parameter
NameDescription
portint
Returns
TypeDescription
LocalDatastoreHelper.Builder

setProjectId(String projectId)

public LocalDatastoreHelper.Builder setProjectId(String projectId)
Parameter
NameDescription
projectIdString
Returns
TypeDescription
LocalDatastoreHelper.Builder

setStoreOnDisk(boolean storeOnDisk)

public LocalDatastoreHelper.Builder setStoreOnDisk(boolean storeOnDisk)
Parameter
NameDescription
storeOnDiskboolean
Returns
TypeDescription
LocalDatastoreHelper.Builder