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