Class LocalDatastoreHelper.Builder (2.20.2)

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
Type Description
LocalDatastoreHelper

setConsistency(double consistency)

public LocalDatastoreHelper.Builder setConsistency(double consistency)
Parameter
Name Description
consistency double
Returns
Type Description
LocalDatastoreHelper.Builder

setDataDir(Path dataDir)

public LocalDatastoreHelper.Builder setDataDir(Path dataDir)
Parameter
Name Description
dataDir Path
Returns
Type Description
LocalDatastoreHelper.Builder

setPort(int port)

public LocalDatastoreHelper.Builder setPort(int port)
Parameter
Name Description
port int
Returns
Type Description
LocalDatastoreHelper.Builder

setProjectId(String projectId)

public LocalDatastoreHelper.Builder setProjectId(String projectId)
Parameter
Name Description
projectId String
Returns
Type Description
LocalDatastoreHelper.Builder

setStoreOnDisk(boolean storeOnDisk)

public LocalDatastoreHelper.Builder setStoreOnDisk(boolean storeOnDisk)
Parameter
Name Description
storeOnDisk boolean
Returns
Type Description
LocalDatastoreHelper.Builder