Class CategorySetKeyActionBuilder
java.lang.Object
com.commercetools.api.models.category.CategorySetKeyActionBuilder
- All Implemented Interfaces:
Builder<CategorySetKeyAction>
CategorySetKeyActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CategorySetKeyAction categorySetKeyAction = CategorySetKeyAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds CategorySetKeyAction with checking for non-null required valuesbuilds CategorySetKeyAction without checking for non-null required valuesgetKey()
Value to set.Value to set.static CategorySetKeyActionBuilder
of()
factory method for an instance of CategorySetKeyActionBuilderstatic CategorySetKeyActionBuilder
of
(CategorySetKeyAction template) create builder for CategorySetKeyAction instance
-
Constructor Details
-
CategorySetKeyActionBuilder
public CategorySetKeyActionBuilder()
-
-
Method Details
-
key
Value to set. If empty, any existing value will be removed.
- Parameters:
key
- value to be set- Returns:
- Builder
-
getKey
Value to set. If empty, any existing value will be removed.
- Returns:
- key
-
build
builds CategorySetKeyAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<CategorySetKeyAction>
- Returns:
- CategorySetKeyAction
-
buildUnchecked
builds CategorySetKeyAction without checking for non-null required values- Returns:
- CategorySetKeyAction
-
of
factory method for an instance of CategorySetKeyActionBuilder- Returns:
- builder
-
of
create builder for CategorySetKeyAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-