Class TypeChangeKeyActionBuilder

java.lang.Object
com.commercetools.api.models.type.TypeChangeKeyActionBuilder
All Implemented Interfaces:
Builder<TypeChangeKeyAction>

public class TypeChangeKeyActionBuilder extends Object implements Builder<TypeChangeKeyAction>
TypeChangeKeyActionBuilder
Example to create an instance using the builder pattern

     TypeChangeKeyAction typeChangeKeyAction = TypeChangeKeyAction.builder()
             .key("{key}")
             .build()
 
  • Constructor Details

    • TypeChangeKeyActionBuilder

      public TypeChangeKeyActionBuilder()
  • 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 TypeChangeKeyAction build()
      builds TypeChangeKeyAction with checking for non-null required values
      Specified by:
      build in interface Builder<TypeChangeKeyAction>
      Returns:
      TypeChangeKeyAction
    • buildUnchecked

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

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

      public static TypeChangeKeyActionBuilder of(TypeChangeKeyAction template)
      create builder for TypeChangeKeyAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder