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 Summary
All 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.Build
build, cloudResourceId
-
-
-
-
Method Detail
-
instance
DatastoreParameters.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 locatedport- The port for the connection to the datastore- Returns:
- the next builder interface
-
instance
DatastoreParameters.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 locatedpathOrId- The path or identifier of this instance- Returns:
- the next builder interface
-
noInstance
DatastoreParameters.DatabaseParameter noInstance()
No instance information recorded.- Returns:
- the next builder interface
-
-