Class JsonApiDataFormat.Builder
java.lang.Object
org.apache.camel.model.dataformat.JsonApiDataFormat.Builder
- All Implemented Interfaces:
DataFormatBuilder<JsonApiDataFormat>
- Enclosing class:
JsonApiDataFormat
public static class JsonApiDataFormat.Builder
extends Object
implements DataFormatBuilder<JsonApiDataFormat>
Builder is a specific builder for JsonApiDataFormat.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondataFormatTypes(Class<?>[] dataFormatTypes) The classes to take into account for the marshalling,dataFormatTypes(String dataFormatTypes) The classes (FQN name) to take into account for the marshalling.end()Ends the build of the data format.mainFormatType(Class<?> mainFormatType) The classes to take into account while unmarshalling,mainFormatType(String mainFormatType) The class (FQN name) to take into account while unmarshalling,
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataFormatTypes
The classes to take into account for the marshalling, -
dataFormatTypes
The classes (FQN name) to take into account for the marshalling. Multiple class names can be separated by comma. -
mainFormatType
The classes to take into account while unmarshalling, -
mainFormatType
The class (FQN name) to take into account while unmarshalling, -
end
Description copied from interface:DataFormatBuilderEnds the build of the data format.- Specified by:
endin interfaceDataFormatBuilder<JsonApiDataFormat>- Returns:
- the data format fully built.
-