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 MessageProduceParametersbuild()Build the finalMessageProduceParametersfor the API call.MessageProduceParameters.BuildcloudAccountId(java.lang.String cloudAccountId)Set the cloud provider's account id for the message destination.MessageProduceParameters.BuildcloudRegion(java.lang.String cloudRegion)Set the cloud provider's region for the message destination.MessageProduceParameters.Buildinstance(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 finalMessageProduceParametersfor the API call.- Returns:
- the completed GenericParameters object
-
-