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