Class StoreSetNameActionBuilder
java.lang.Object
com.commercetools.api.models.store.StoreSetNameActionBuilder
- All Implemented Interfaces:
Builder<StoreSetNameAction>
StoreSetNameActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StoreSetNameAction storeSetNameAction = StoreSetNameAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds StoreSetNameAction with checking for non-null required valuesbuilds StoreSetNameAction without checking for non-null required valuesgetName()
Value to set.name
(LocalizedString name) Value to set.Value to set.static StoreSetNameActionBuilder
of()
factory method for an instance of StoreSetNameActionBuilderstatic StoreSetNameActionBuilder
of
(StoreSetNameAction template) create builder for StoreSetNameAction instanceValue to set.
-
Constructor Details
-
StoreSetNameActionBuilder
public StoreSetNameActionBuilder()
-
-
Method Details
-
name
public StoreSetNameActionBuilder name(Function<LocalizedStringBuilder, LocalizedStringBuilder> builder) Value to set.
- Parameters:
builder
- function to build the name value- Returns:
- Builder
-
withName
Value to set.
- Parameters:
builder
- function to build the name value- Returns:
- Builder
-
name
Value to set.
- Parameters:
name
- value to be set- Returns:
- Builder
-
getName
Value to set.
- Returns:
- name
-
build
builds StoreSetNameAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<StoreSetNameAction>
- Returns:
- StoreSetNameAction
-
buildUnchecked
builds StoreSetNameAction without checking for non-null required values- Returns:
- StoreSetNameAction
-
of
factory method for an instance of StoreSetNameActionBuilder- Returns:
- builder
-
of
create builder for StoreSetNameAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-