public static interface DatastoreParameters.InstanceParameter extends DatastoreParameters.Build
Modifier and Type | Method and Description |
---|---|
DatastoreParameters.DatabaseParameter |
instance(java.lang.String host,
java.lang.Integer port)
Set the host and port of the datastore connection used for this query.
|
DatastoreParameters.DatabaseParameter |
instance(java.lang.String host,
java.lang.String pathOrId)
Set the host and pathOrId of the datastore connection used for this query.
|
DatastoreParameters.DatabaseParameter |
noInstance()
No instance information recorded.
|
build
DatastoreParameters.DatabaseParameter instance(java.lang.String host, java.lang.Integer port)
host
- The host where the datastore is locatedport
- The port for the connection to the datastoreDatastoreParameters.DatabaseParameter instance(java.lang.String host, java.lang.String pathOrId)
host
- The host where the datastore is locatedpathOrId
- The path or identifier of this instanceDatastoreParameters.DatabaseParameter noInstance()