| Modifier | Constructor and Description |
|---|---|
protected |
Builder() |
| 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> |
length(long length)
Sets the length in bytes of the payload
|
Result.Builder<T,A> |
length(Long length)
Deprecated.
Use
length(long) instead. |
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 builder@Deprecated public Result.Builder<T,A> length(Long length)
length(long) instead.length - public Result.Builder<T,A> length(long length)
length - Copyright © 2019 MuleSoft, Inc.. All rights reserved.