Class SwiftMtDataFormat.Builder
java.lang.Object
org.apache.camel.model.dataformat.SwiftMtDataFormat.Builder
- All Implemented Interfaces:
DataFormatBuilder<SwiftMtDataFormat>
- Enclosing class:
- SwiftMtDataFormat
public static class SwiftMtDataFormat.Builder
extends Object
implements DataFormatBuilder<SwiftMtDataFormat>
Builder
is a specific builder for SwiftMtDataFormat
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionend()
Ends the build of the data format.writeInJson
(boolean writeInJson) The flag indicating that messages must be marshalled in a JSON format.writeInJson
(String writeInJson) The flag indicating that messages must be marshalled in a JSON format.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
writeInJson
The flag indicating that messages must be marshalled in a JSON format.- Parameters:
writeInJson
-true
if messages must be marshalled in a JSON format,false
otherwise.
-
writeInJson
The flag indicating that messages must be marshalled in a JSON format.- Parameters:
writeInJson
-true
if messages must be marshalled in a JSON format,false
otherwise.
-
end
Description copied from interface:DataFormatBuilder
Ends the build of the data format.- Specified by:
end
in interfaceDataFormatBuilder<SwiftMtDataFormat>
- Returns:
- the data format fully built.
-