Package com.newrelic.api.agent
Interface MessageConsumeParameters.Build
-
- All Known Implementing Classes:
MessageConsumeParameters.Builder
- Enclosing class:
- MessageConsumeParameters
public static interface MessageConsumeParameters.Build
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MessageConsumeParameters
build()
Build the finalMessageConsumeParameters
for the API call.MessageConsumeParameters.Build
cloudAccountId(java.lang.String cloudAccountId)
Set the cloud provider's account id for the message source.MessageConsumeParameters.Build
cloudRegion(java.lang.String region)
Set the cloud provider's region for the message source.MessageConsumeParameters.Build
instance(java.lang.String host, java.lang.Integer port)
Set the host and port of the message broker.
-
-
-
Method Detail
-
cloudAccountId
MessageConsumeParameters.Build cloudAccountId(java.lang.String cloudAccountId)
Set the cloud provider's account id for the message source. This method is optional and can be bypassed by calling build directly.
-
cloudRegion
MessageConsumeParameters.Build cloudRegion(java.lang.String region)
Set the cloud provider's region for the message source. This method is optional and can be bypassed by calling build directly.
-
instance
MessageConsumeParameters.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
MessageConsumeParameters build()
Build the finalMessageConsumeParameters
for the API call.- Returns:
- the completed GenericParameters object
-
-