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

     ChannelChangeKeyAction channelChangeKeyAction = ChannelChangeKeyAction.builder()
             .key("{key}")
             .build()
 
  • 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

      public String getKey()

      New value to set. Must not be empty.

      Returns:
      key
    • build

      public ChannelChangeKeyAction build()
      builds ChannelChangeKeyAction with checking for non-null required values
      Specified by:
      build in interface io.vrap.rmf.base.client.Builder<ChannelChangeKeyAction>
      Returns:
      ChannelChangeKeyAction
    • buildUnchecked

      public ChannelChangeKeyAction buildUnchecked()
      builds ChannelChangeKeyAction without checking for non-null required values
      Returns:
      ChannelChangeKeyAction
    • of

      public static ChannelChangeKeyActionBuilder 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