Class CategorySetExternalIdActionBuilder
java.lang.Object
com.commercetools.api.models.category.CategorySetExternalIdActionBuilder
- All Implemented Interfaces:
Builder<CategorySetExternalIdAction>
public class CategorySetExternalIdActionBuilder
extends Object
implements Builder<CategorySetExternalIdAction>
CategorySetExternalIdActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CategorySetExternalIdAction categorySetExternalIdAction = CategorySetExternalIdAction.builder()
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()builds CategorySetExternalIdAction with checking for non-null required valuesbuilds CategorySetExternalIdAction without checking for non-null required valuesexternalId(String externalId) Value to set.Value to set.of()factory method for an instance of CategorySetExternalIdActionBuilderof(CategorySetExternalIdAction template) create builder for CategorySetExternalIdAction instance
-
Constructor Details
-
CategorySetExternalIdActionBuilder
public CategorySetExternalIdActionBuilder()
-
-
Method Details
-
externalId
Value to set. If empty, any existing value will be removed.
- Parameters:
externalId- value to be set- Returns:
- Builder
-
getExternalId
Value to set. If empty, any existing value will be removed.
- Returns:
- externalId
-
build
builds CategorySetExternalIdAction with checking for non-null required values- Specified by:
buildin interfaceBuilder<CategorySetExternalIdAction>- Returns:
- CategorySetExternalIdAction
-
buildUnchecked
builds CategorySetExternalIdAction without checking for non-null required values- Returns:
- CategorySetExternalIdAction
-
of
factory method for an instance of CategorySetExternalIdActionBuilder- Returns:
- builder
-
of
create builder for CategorySetExternalIdAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-