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