public static interface Message.AttributesBuilder
| Modifier and Type | Method and Description |
|---|---|
Message.Builder |
attributes(Object value)
Populates the builder from the given
value. |
Message.Builder |
attributesMediaType(MediaType mediaType)
|
Message.Builder |
nullAttributes()
Sets a
#null value for the Message's attributes to be built. |
Message.Builder nullAttributes()
#null value for the Message's attributes to be built.Message.Builder attributes(Object value)
value.
This method will get the type, mimeType and encoding from the given value according to its
concrete type.
value - an object instance.NullPointerException - if the value is nullMessage.Builder attributesMediaType(MediaType mediaType)
mediaType - the mediaType to setNullPointerException - if the mediaType is nullCopyright © 2017 MuleSoft, Inc.. All rights reserved.