| Modifier and Type | Method and Description |
|---|---|
Result.Builder<T,A> |
attributes(A attributes)
Sets the output attributes value
|
Result.Builder<T,A> |
attributesMediaType(org.mule.runtime.api.metadata.MediaType mediaType)
Sets the output
MediaType for the attributes |
Result<T,A> |
build() |
Result.Builder<T,A> |
mediaType(org.mule.runtime.api.metadata.MediaType mediaType)
Sets the output
MediaType for the payload |
Result.Builder<T,A> |
output(T output)
Sets the output value
|
public Result.Builder<T,A> output(T output)
output - the new output valuethis builderpublic Result.Builder<T,A> attributes(A attributes)
attributes - the new attributes valuethis builderpublic Result.Builder<T,A> mediaType(org.mule.runtime.api.metadata.MediaType mediaType)
MediaType for the payloadmediaType - the new MediaTypethis builderpublic Result.Builder<T,A> attributesMediaType(org.mule.runtime.api.metadata.MediaType mediaType)
MediaType for the attributesmediaType - the new MediaTypethis builderCopyright © 2017 MuleSoft, Inc.. All rights reserved.