Package com.newrelic.api.agent
Interface DatastoreParameters.InstanceParameter
- 
- All Superinterfaces:
- DatastoreParameters.Build
 - All Known Implementing Classes:
- DatastoreParameters.Builder
 - Enclosing class:
- DatastoreParameters
 
 public static interface DatastoreParameters.InstanceParameter extends DatastoreParameters.Build 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description DatastoreParameters.DatabaseParameterinstance(java.lang.String host, java.lang.Integer port)Set the host and port of the datastore connection used for this query.DatastoreParameters.DatabaseParameterinstance(java.lang.String host, java.lang.String pathOrId)Set the host and pathOrId of the datastore connection used for this query.DatastoreParameters.DatabaseParameternoInstance()No instance information recorded.- 
Methods inherited from interface com.newrelic.api.agent.DatastoreParameters.Buildbuild, cloudResourceId
 
- 
 
- 
- 
- 
Method Detail- 
instanceDatastoreParameters.DatabaseParameter instance(java.lang.String host, java.lang.Integer port) Set the host and port of the datastore connection used for this query.- Parameters:
- host- The host where the datastore is located
- port- The port for the connection to the datastore
- Returns:
- the next builder interface
 
 - 
instanceDatastoreParameters.DatabaseParameter instance(java.lang.String host, java.lang.String pathOrId) Set the host and pathOrId of the datastore connection used for this query.- Parameters:
- host- The host where the datastore is located
- pathOrId- The path or identifier of this instance
- Returns:
- the next builder interface
 
 - 
noInstanceDatastoreParameters.DatabaseParameter noInstance() No instance information recorded.- Returns:
- the next builder interface
 
 
- 
 
-