Class StoreLanguagesChangedMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.StoreLanguagesChangedMessagePayloadBuilder
- All Implemented Interfaces:
Builder<StoreLanguagesChangedMessagePayload>
public class StoreLanguagesChangedMessagePayloadBuilder
extends Object
implements Builder<StoreLanguagesChangedMessagePayload>
StoreLanguagesChangedMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StoreLanguagesChangedMessagePayload storeLanguagesChangedMessagePayload = StoreLanguagesChangedMessagePayload.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddedLanguages
(String... addedLanguages) Locales added to the Store after the Set Languages update action.addedLanguages
(List<String> addedLanguages) Locales added to the Store after the Set Languages update action.build()
builds StoreLanguagesChangedMessagePayload with checking for non-null required valuesbuilds StoreLanguagesChangedMessagePayload without checking for non-null required valuesLocales added to the Store after the Set Languages update action.Locales removed from the Store during the Set Languages update action.of()
factory method for an instance of StoreLanguagesChangedMessagePayloadBuilderof
(StoreLanguagesChangedMessagePayload template) create builder for StoreLanguagesChangedMessagePayload instanceplusAddedLanguages
(String... addedLanguages) Locales added to the Store after the Set Languages update action.plusRemovedLanguages
(String... removedLanguages) Locales removed from the Store during the Set Languages update action.removedLanguages
(String... removedLanguages) Locales removed from the Store during the Set Languages update action.removedLanguages
(List<String> removedLanguages) Locales removed from the Store during the Set Languages update action.
-
Constructor Details
-
StoreLanguagesChangedMessagePayloadBuilder
public StoreLanguagesChangedMessagePayloadBuilder()
-
-
Method Details
-
addedLanguages
public StoreLanguagesChangedMessagePayloadBuilder addedLanguages(@Nullable String... addedLanguages) Locales added to the Store after the Set Languages update action.
- Parameters:
addedLanguages
- value to be set- Returns:
- Builder
-
addedLanguages
public StoreLanguagesChangedMessagePayloadBuilder addedLanguages(@Nullable List<String> addedLanguages) Locales added to the Store after the Set Languages update action.
- Parameters:
addedLanguages
- value to be set- Returns:
- Builder
-
plusAddedLanguages
public StoreLanguagesChangedMessagePayloadBuilder plusAddedLanguages(@Nullable String... addedLanguages) Locales added to the Store after the Set Languages update action.
- Parameters:
addedLanguages
- value to be set- Returns:
- Builder
-
removedLanguages
public StoreLanguagesChangedMessagePayloadBuilder removedLanguages(@Nullable String... removedLanguages) Locales removed from the Store during the Set Languages update action.
- Parameters:
removedLanguages
- value to be set- Returns:
- Builder
-
removedLanguages
public StoreLanguagesChangedMessagePayloadBuilder removedLanguages(@Nullable List<String> removedLanguages) Locales removed from the Store during the Set Languages update action.
- Parameters:
removedLanguages
- value to be set- Returns:
- Builder
-
plusRemovedLanguages
public StoreLanguagesChangedMessagePayloadBuilder plusRemovedLanguages(@Nullable String... removedLanguages) Locales removed from the Store during the Set Languages update action.
- Parameters:
removedLanguages
- value to be set- Returns:
- Builder
-
getAddedLanguages
Locales added to the Store after the Set Languages update action.
- Returns:
- addedLanguages
-
getRemovedLanguages
Locales removed from the Store during the Set Languages update action.
- Returns:
- removedLanguages
-
build
builds StoreLanguagesChangedMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<StoreLanguagesChangedMessagePayload>
- Returns:
- StoreLanguagesChangedMessagePayload
-
buildUnchecked
builds StoreLanguagesChangedMessagePayload without checking for non-null required values- Returns:
- StoreLanguagesChangedMessagePayload
-
of
factory method for an instance of StoreLanguagesChangedMessagePayloadBuilder- Returns:
- builder
-
of
public static StoreLanguagesChangedMessagePayloadBuilder of(StoreLanguagesChangedMessagePayload template) create builder for StoreLanguagesChangedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-