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.DestinationTypeParameterdestinationType in interface MessageConsumeParameters.DestinationTypeParameterdestinationType - the destination type of the external callpublic MessageConsumeParameters.InboundHeadersParameter destinationName(java.lang.String destinationName)
MessageConsumeParameters.DestinationNameParameterdestinationName in interface MessageConsumeParameters.DestinationNameParameterdestinationName - the destination name of the external callpublic MessageConsumeParameters.Build inboundHeaders(InboundHeaders inboundHeaders)
MessageConsumeParameters.InboundHeadersParameterinboundHeaders in interface MessageConsumeParameters.InboundHeadersParameterinboundHeaders - the inbound headers for the external callpublic MessageConsumeParameters build()
MessageConsumeParameters.BuildMessageConsumeParameters for the API call.build in interface MessageConsumeParameters.Build