public static interface MuleMessage.CollectionBuilder extends MuleMessage.Builder
| Modifier and Type | Method and Description |
|---|---|
MuleMessage.CollectionBuilder |
itemMediaType(MediaType mediaType)
Sets the
MediaType for the collection items in the MuleMessage to be built. |
attributes, build, mediaTypecollectionPayload, payloadMuleMessage.CollectionBuilder itemMediaType(MediaType mediaType)
MediaType for the collection items in the MuleMessage to be built.
See CollectionDataType.getItemDataType()mediaType - the mediaType to setNullPointerException - if the payload is nullCopyright © 2016 MuleSoft, Inc.. All rights reserved.