protected static class MessageProduceParameters.Builder extends java.lang.Object implements MessageProduceParameters.DestinationTypeParameter, MessageProduceParameters.DestinationNameParameter, MessageProduceParameters.OutboundHeadersParameter, MessageProduceParameters.Build
Constructor and Description |
---|
Builder(java.lang.String library) |
Modifier and Type | Method and Description |
---|---|
MessageProduceParameters |
build()
Build the final
MessageProduceParameters for the API call. |
MessageProduceParameters.OutboundHeadersParameter |
destinationName(java.lang.String destinationName)
Set the destination name of the external call.
|
MessageProduceParameters.DestinationNameParameter |
destinationType(DestinationType destinationType)
Set the destination type of the external call.
|
MessageProduceParameters.Build |
outboundHeaders(OutboundHeaders outboundHeaders)
Set the outbound headers on the external call.
|
public MessageProduceParameters.DestinationNameParameter destinationType(DestinationType destinationType)
MessageProduceParameters.DestinationTypeParameter
destinationType
in interface MessageProduceParameters.DestinationTypeParameter
destinationType
- the destination type of the external callpublic MessageProduceParameters.OutboundHeadersParameter destinationName(java.lang.String destinationName)
MessageProduceParameters.DestinationNameParameter
destinationName
in interface MessageProduceParameters.DestinationNameParameter
destinationName
- the destination name of the external callpublic MessageProduceParameters.Build outboundHeaders(OutboundHeaders outboundHeaders)
MessageProduceParameters.OutboundHeadersParameter
outboundHeaders
in interface MessageProduceParameters.OutboundHeadersParameter
outboundHeaders
- the outbound headers for the external callpublic MessageProduceParameters build()
MessageProduceParameters.Build
MessageProduceParameters
for the API call.build
in interface MessageProduceParameters.Build