Class ShoppingListSetKeyActionBuilder

java.lang.Object
com.commercetools.api.models.shopping_list.ShoppingListSetKeyActionBuilder
All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<ShoppingListSetKeyAction>

public class ShoppingListSetKeyActionBuilder extends Object implements io.vrap.rmf.base.client.Builder<ShoppingListSetKeyAction>
ShoppingListSetKeyActionBuilder
Example to create an instance using the builder pattern

     ShoppingListSetKeyAction shoppingListSetKeyAction = ShoppingListSetKeyAction.builder()
             .build()
 
  • Constructor Details

    • ShoppingListSetKeyActionBuilder

      public ShoppingListSetKeyActionBuilder()
  • Method Details

    • key

      Value to set. If empty, any existing value will be removed.

      Parameters:
      key - value to be set
      Returns:
      Builder
    • getKey

      @Nullable public String getKey()

      Value to set. If empty, any existing value will be removed.

      Returns:
      key
    • build

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

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

      public static ShoppingListSetKeyActionBuilder of()
      factory method for an instance of ShoppingListSetKeyActionBuilder
      Returns:
      builder
    • of

      create builder for ShoppingListSetKeyAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder