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 forSwiftMtDataFormat
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SwiftMtDataFormat
end()
Ends the build of the data format.SwiftMtDataFormat.Builder
writeInJson(boolean writeInJson)
The flag indicating that messages must be marshalled in a JSON format.SwiftMtDataFormat.Builder
writeInJson(String writeInJson)
The flag indicating that messages must be marshalled in a JSON format.
-
-
-
Method Detail
-
writeInJson
public SwiftMtDataFormat.Builder writeInJson(String 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
public SwiftMtDataFormat.Builder writeInJson(boolean 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
public SwiftMtDataFormat 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.
-
-