Class DatastoreEmulatorOptions.Builder (2.22.0)

public static class DatastoreEmulatorOptions.Builder

Inheritance

java.lang.Object > DatastoreEmulatorOptions.Builder

Constructors

Builder()

public Builder()

Methods

addCmdLineOption(String option)

public DatastoreEmulatorOptions.Builder addCmdLineOption(String option)
Parameter
Name Description
option String
Returns
Type Description
DatastoreEmulatorOptions.Builder

addCmdLineOptions(Collection<String> options)

public DatastoreEmulatorOptions.Builder addCmdLineOptions(Collection<String> options)
Parameter
Name Description
options Collection<String>
Returns
Type Description
DatastoreEmulatorOptions.Builder

addEnvVar(String var, String value)

public DatastoreEmulatorOptions.Builder addEnvVar(String var, String value)

Adds an environment variable to pass to the emulator.

Parameters
Name Description
var String
value String
Returns
Type Description
DatastoreEmulatorOptions.Builder

build()

public DatastoreEmulatorOptions build()
Returns
Type Description
DatastoreEmulatorOptions

setCommand(String cmd)

public DatastoreEmulatorOptions.Builder setCommand(String cmd)
Parameter
Name Description
cmd String
Returns
Type Description
DatastoreEmulatorOptions.Builder

setProjectId(String projectId)

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