Class ChannelChangeKeyActionBuilder
java.lang.Object
com.commercetools.api.models.channel.ChannelChangeKeyActionBuilder
- All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<ChannelChangeKeyAction>
public class ChannelChangeKeyActionBuilder
extends Object
implements io.vrap.rmf.base.client.Builder<ChannelChangeKeyAction>
ChannelChangeKeyActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ChannelChangeKeyAction channelChangeKeyAction = ChannelChangeKeyAction.builder()
.key("{key}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds ChannelChangeKeyAction with checking for non-null required valuesbuilds ChannelChangeKeyAction without checking for non-null required valuesgetKey()
New value to set.New value to set.of()
factory method for an instance of ChannelChangeKeyActionBuilderof
(ChannelChangeKeyAction template) create builder for ChannelChangeKeyAction instance
-
Constructor Details
-
ChannelChangeKeyActionBuilder
public ChannelChangeKeyActionBuilder()
-
-
Method Details
-
key
New value to set. Must not be empty.
- Parameters:
key
- value to be set- Returns:
- Builder
-
getKey
New value to set. Must not be empty.
- Returns:
- key
-
build
builds ChannelChangeKeyAction with checking for non-null required values- Specified by:
build
in interfaceio.vrap.rmf.base.client.Builder<ChannelChangeKeyAction>
- Returns:
- ChannelChangeKeyAction
-
buildUnchecked
builds ChannelChangeKeyAction without checking for non-null required values- Returns:
- ChannelChangeKeyAction
-
of
factory method for an instance of ChannelChangeKeyActionBuilder- Returns:
- builder
-
of
create builder for ChannelChangeKeyAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-