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.DestinationTypeParameterdestinationType in interface MessageProduceParameters.DestinationTypeParameterdestinationType - the destination type of the external callpublic MessageProduceParameters.OutboundHeadersParameter destinationName(java.lang.String destinationName)
MessageProduceParameters.DestinationNameParameterdestinationName in interface MessageProduceParameters.DestinationNameParameterdestinationName - the destination name of the external callpublic MessageProduceParameters.Build outboundHeaders(OutboundHeaders outboundHeaders)
MessageProduceParameters.OutboundHeadersParameteroutboundHeaders in interface MessageProduceParameters.OutboundHeadersParameteroutboundHeaders - the outbound headers for the external callpublic MessageProduceParameters build()
MessageProduceParameters.BuildMessageProduceParameters for the API call.build in interface MessageProduceParameters.Build