Class DatastoreEmulatorOptions.Builder (2.18.5)

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
NameDescription
optionString
Returns
TypeDescription
DatastoreEmulatorOptions.Builder

addCmdLineOptions(Collection<String> options)

public DatastoreEmulatorOptions.Builder addCmdLineOptions(Collection<String> options)
Parameter
NameDescription
optionsCollection<String>
Returns
TypeDescription
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
NameDescription
varString
valueString
Returns
TypeDescription
DatastoreEmulatorOptions.Builder

build()

public DatastoreEmulatorOptions build()
Returns
TypeDescription
DatastoreEmulatorOptions

setCommand(String cmd)

public DatastoreEmulatorOptions.Builder setCommand(String cmd)
Parameter
NameDescription
cmdString
Returns
TypeDescription
DatastoreEmulatorOptions.Builder

setProjectId(String projectId)

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