Class CategoryOrderHintsBuilder
java.lang.Object
com.commercetools.history.models.common.CategoryOrderHintsBuilder
- All Implemented Interfaces:
Builder<CategoryOrderHints>
CategoryOrderHintsBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CategoryOrderHints categoryOrderHints = CategoryOrderHints.builder()
./^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/("{/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionassign a pattern property to the builderbuild()
builds CategoryOrderHints with checking for non-null required valuesbuilds CategoryOrderHints without checking for non-null required valuesvalues of pattern propertiesstatic CategoryOrderHintsBuilder
of()
factory method for an instance of CategoryOrderHintsBuilderstatic CategoryOrderHintsBuilder
of
(CategoryOrderHints template) create builder for CategoryOrderHints instanceassign pattern properties to the builder
-
Constructor Details
-
CategoryOrderHintsBuilder
public CategoryOrderHintsBuilder()
-
-
Method Details
-
values
assign pattern properties to the builder- Parameters:
values
- properties to be set- Returns:
- Builder
-
addValue
assign a pattern property to the builder- Parameters:
key
- property namevalue
- property value- Returns:
- Builder
-
getValues
values of pattern properties- Returns:
- pattern properties
-
build
builds CategoryOrderHints with checking for non-null required values- Specified by:
build
in interfaceBuilder<CategoryOrderHints>
- Returns:
- CategoryOrderHints
-
buildUnchecked
builds CategoryOrderHints without checking for non-null required values- Returns:
- CategoryOrderHints
-
of
factory method for an instance of CategoryOrderHintsBuilder- Returns:
- builder
-
of
create builder for CategoryOrderHints instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-