Class StoreDistributionChannelsChangedMessagePayloadBuilder
- All Implemented Interfaces:
Builder<StoreDistributionChannelsChangedMessagePayload>
Example to create an instance using the builder pattern
StoreDistributionChannelsChangedMessagePayload storeDistributionChannelsChangedMessagePayload = StoreDistributionChannelsChangedMessagePayload.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionProduct distribution Channels that have been added to the Store.addedDistributionChannels
(ChannelReference... addedDistributionChannels) Product distribution Channels that have been added to the Store.addedDistributionChannels
(List<ChannelReference> addedDistributionChannels) Product distribution Channels that have been added to the Store.Product distribution Channels that have been removed from the Store.build()
builds StoreDistributionChannelsChangedMessagePayload with checking for non-null required valuesbuilds StoreDistributionChannelsChangedMessagePayload without checking for non-null required valuesProduct distribution Channels that have been added to the Store.Product distribution Channels that have been removed from the Store.of()
factory method for an instance of StoreDistributionChannelsChangedMessagePayloadBuildercreate builder for StoreDistributionChannelsChangedMessagePayload instanceplusAddedDistributionChannels
(ChannelReference... addedDistributionChannels) Product distribution Channels that have been added to the Store.Product distribution Channels that have been added to the Store.plusRemovedDistributionChannels
(ChannelReference... removedDistributionChannels) Product distribution Channels that have been removed from the Store.Product distribution Channels that have been removed from the Store.removedDistributionChannels
(ChannelReference... removedDistributionChannels) Product distribution Channels that have been removed from the Store.removedDistributionChannels
(List<ChannelReference> removedDistributionChannels) Product distribution Channels that have been removed from the Store.Product distribution Channels that have been added to the Store.Product distribution Channels that have been removed from the Store.Product distribution Channels that have been added to the Store.Product distribution Channels that have been removed from the Store.
-
Constructor Details
-
StoreDistributionChannelsChangedMessagePayloadBuilder
public StoreDistributionChannelsChangedMessagePayloadBuilder()
-
-
Method Details
-
addedDistributionChannels
public StoreDistributionChannelsChangedMessagePayloadBuilder addedDistributionChannels(@Nullable ChannelReference... addedDistributionChannels) Product distribution Channels that have been added to the Store.
- Parameters:
addedDistributionChannels
- value to be set- Returns:
- Builder
-
addedDistributionChannels
public StoreDistributionChannelsChangedMessagePayloadBuilder addedDistributionChannels(@Nullable List<ChannelReference> addedDistributionChannels) Product distribution Channels that have been added to the Store.
- Parameters:
addedDistributionChannels
- value to be set- Returns:
- Builder
-
plusAddedDistributionChannels
public StoreDistributionChannelsChangedMessagePayloadBuilder plusAddedDistributionChannels(@Nullable ChannelReference... addedDistributionChannels) Product distribution Channels that have been added to the Store.
- Parameters:
addedDistributionChannels
- value to be set- Returns:
- Builder
-
plusAddedDistributionChannels
public StoreDistributionChannelsChangedMessagePayloadBuilder plusAddedDistributionChannels(Function<ChannelReferenceBuilder, ChannelReferenceBuilder> builder) Product distribution Channels that have been added to the Store.
- Parameters:
builder
- function to build the addedDistributionChannels value- Returns:
- Builder
-
withAddedDistributionChannels
public StoreDistributionChannelsChangedMessagePayloadBuilder withAddedDistributionChannels(Function<ChannelReferenceBuilder, ChannelReferenceBuilder> builder) Product distribution Channels that have been added to the Store.
- Parameters:
builder
- function to build the addedDistributionChannels value- Returns:
- Builder
-
addAddedDistributionChannels
public StoreDistributionChannelsChangedMessagePayloadBuilder addAddedDistributionChannels(Function<ChannelReferenceBuilder, ChannelReference> builder) Product distribution Channels that have been added to the Store.
- Parameters:
builder
- function to build the addedDistributionChannels value- Returns:
- Builder
-
setAddedDistributionChannels
public StoreDistributionChannelsChangedMessagePayloadBuilder setAddedDistributionChannels(Function<ChannelReferenceBuilder, ChannelReference> builder) Product distribution Channels that have been added to the Store.
- Parameters:
builder
- function to build the addedDistributionChannels value- Returns:
- Builder
-
removedDistributionChannels
public StoreDistributionChannelsChangedMessagePayloadBuilder removedDistributionChannels(@Nullable ChannelReference... removedDistributionChannels) Product distribution Channels that have been removed from the Store.
- Parameters:
removedDistributionChannels
- value to be set- Returns:
- Builder
-
removedDistributionChannels
public StoreDistributionChannelsChangedMessagePayloadBuilder removedDistributionChannels(@Nullable List<ChannelReference> removedDistributionChannels) Product distribution Channels that have been removed from the Store.
- Parameters:
removedDistributionChannels
- value to be set- Returns:
- Builder
-
plusRemovedDistributionChannels
public StoreDistributionChannelsChangedMessagePayloadBuilder plusRemovedDistributionChannels(@Nullable ChannelReference... removedDistributionChannels) Product distribution Channels that have been removed from the Store.
- Parameters:
removedDistributionChannels
- value to be set- Returns:
- Builder
-
plusRemovedDistributionChannels
public StoreDistributionChannelsChangedMessagePayloadBuilder plusRemovedDistributionChannels(Function<ChannelReferenceBuilder, ChannelReferenceBuilder> builder) Product distribution Channels that have been removed from the Store.
- Parameters:
builder
- function to build the removedDistributionChannels value- Returns:
- Builder
-
withRemovedDistributionChannels
public StoreDistributionChannelsChangedMessagePayloadBuilder withRemovedDistributionChannels(Function<ChannelReferenceBuilder, ChannelReferenceBuilder> builder) Product distribution Channels that have been removed from the Store.
- Parameters:
builder
- function to build the removedDistributionChannels value- Returns:
- Builder
-
addRemovedDistributionChannels
public StoreDistributionChannelsChangedMessagePayloadBuilder addRemovedDistributionChannels(Function<ChannelReferenceBuilder, ChannelReference> builder) Product distribution Channels that have been removed from the Store.
- Parameters:
builder
- function to build the removedDistributionChannels value- Returns:
- Builder
-
setRemovedDistributionChannels
public StoreDistributionChannelsChangedMessagePayloadBuilder setRemovedDistributionChannels(Function<ChannelReferenceBuilder, ChannelReference> builder) Product distribution Channels that have been removed from the Store.
- Parameters:
builder
- function to build the removedDistributionChannels value- Returns:
- Builder
-
getAddedDistributionChannels
Product distribution Channels that have been added to the Store.
- Returns:
- addedDistributionChannels
-
getRemovedDistributionChannels
Product distribution Channels that have been removed from the Store.
- Returns:
- removedDistributionChannels
-
build
builds StoreDistributionChannelsChangedMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<StoreDistributionChannelsChangedMessagePayload>
- Returns:
- StoreDistributionChannelsChangedMessagePayload
-
buildUnchecked
builds StoreDistributionChannelsChangedMessagePayload without checking for non-null required values- Returns:
- StoreDistributionChannelsChangedMessagePayload
-
of
factory method for an instance of StoreDistributionChannelsChangedMessagePayloadBuilder- Returns:
- builder
-
of
public static StoreDistributionChannelsChangedMessagePayloadBuilder of(StoreDistributionChannelsChangedMessagePayload template) create builder for StoreDistributionChannelsChangedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-