Package com.newrelic.api.agent
Interface MessageProduceParameters.Build
-
- All Known Implementing Classes:
MessageProduceParameters.Builder
- Enclosing class:
- MessageProduceParameters
public static interface MessageProduceParameters.Build
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MessageProduceParameters
build()
Build the finalMessageProduceParameters
for the API call.MessageProduceParameters.Build
cloudAccountId(java.lang.String cloudAccountId)
Set the cloud provider's account id for the message destination.MessageProduceParameters.Build
cloudRegion(java.lang.String cloudRegion)
Set the cloud provider's region for the message destination.MessageProduceParameters.Build
instance(java.lang.String host, java.lang.Integer port)
Set the host and port of the message broker.
-
-
-
Method Detail
-
cloudAccountId
MessageProduceParameters.Build cloudAccountId(java.lang.String cloudAccountId)
Set the cloud provider's account id for the message destination. This method is optional and can be bypassed by calling build directly.
-
cloudRegion
MessageProduceParameters.Build cloudRegion(java.lang.String cloudRegion)
Set the cloud provider's region for the message destination. This method is optional and can be bypassed by calling build directly.
-
instance
MessageProduceParameters.Build instance(java.lang.String host, java.lang.Integer port)
Set the host and port of the message broker. This method is optional and can be bypassed by calling build directly.- Parameters:
host
- The host where the message broker is locatedport
- The port for the connection to the message broker- Returns:
- the next builder interface
-
build
MessageProduceParameters build()
Build the finalMessageProduceParameters
for the API call.- Returns:
- the completed GenericParameters object
-
-