Class StoreSetLanguagesActionBuilder
java.lang.Object
com.commercetools.api.models.store.StoreSetLanguagesActionBuilder
- All Implemented Interfaces:
Builder<StoreSetLanguagesAction>
public class StoreSetLanguagesActionBuilder
extends Object
implements Builder<StoreSetLanguagesAction>
StoreSetLanguagesActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StoreSetLanguagesAction storeSetLanguagesAction = StoreSetLanguagesAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds StoreSetLanguagesAction with checking for non-null required valuesbuilds StoreSetLanguagesAction without checking for non-null required valuesValue to set.Value to set.Value to set.of()
factory method for an instance of StoreSetLanguagesActionBuilderof
(StoreSetLanguagesAction template) create builder for StoreSetLanguagesAction instanceplusLanguages
(String... languages) Value to set.
-
Constructor Details
-
StoreSetLanguagesActionBuilder
public StoreSetLanguagesActionBuilder()
-
-
Method Details
-
languages
Value to set.
- Parameters:
languages
- value to be set- Returns:
- Builder
-
languages
Value to set.
- Parameters:
languages
- value to be set- Returns:
- Builder
-
plusLanguages
Value to set.
- Parameters:
languages
- value to be set- Returns:
- Builder
-
getLanguages
Value to set.
- Returns:
- languages
-
build
builds StoreSetLanguagesAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<StoreSetLanguagesAction>
- Returns:
- StoreSetLanguagesAction
-
buildUnchecked
builds StoreSetLanguagesAction without checking for non-null required values- Returns:
- StoreSetLanguagesAction
-
of
factory method for an instance of StoreSetLanguagesActionBuilder- Returns:
- builder
-
of
create builder for StoreSetLanguagesAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-