Class InvalidJsonInputBuilder
java.lang.Object
com.commercetools.importapi.models.errors.InvalidJsonInputBuilder
- All Implemented Interfaces:
Builder<InvalidJsonInput>
InvalidJsonInputBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
InvalidJsonInput invalidJsonInput = InvalidJsonInput.builder()
.message("{message}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds InvalidJsonInput with checking for non-null required valuesbuilds InvalidJsonInput without checking for non-null required valuesvalue of message}set the value to the messagestatic InvalidJsonInputBuilder
of()
factory method for an instance of InvalidJsonInputBuilderstatic InvalidJsonInputBuilder
of
(InvalidJsonInput template) create builder for InvalidJsonInput instance
-
Constructor Details
-
InvalidJsonInputBuilder
public InvalidJsonInputBuilder()
-
-
Method Details
-
message
set the value to the message- Parameters:
message
- value to be set- Returns:
- Builder
-
getMessage
value of message}- Returns:
- message
-
build
builds InvalidJsonInput with checking for non-null required values- Specified by:
build
in interfaceBuilder<InvalidJsonInput>
- Returns:
- InvalidJsonInput
-
buildUnchecked
builds InvalidJsonInput without checking for non-null required values- Returns:
- InvalidJsonInput
-
of
factory method for an instance of InvalidJsonInputBuilder- Returns:
- builder
-
of
create builder for InvalidJsonInput instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-