Class ZoneChangeNameActionBuilder

java.lang.Object
com.commercetools.api.models.zone.ZoneChangeNameActionBuilder
All Implemented Interfaces:
Builder<ZoneChangeNameAction>

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

     ZoneChangeNameAction zoneChangeNameAction = ZoneChangeNameAction.builder()
             .name("{name}")
             .build()
 
  • Constructor Details

    • ZoneChangeNameActionBuilder

      public ZoneChangeNameActionBuilder()
  • Method Details

    • name

      public ZoneChangeNameActionBuilder name(String name)

      New name of the Zone.

      Parameters:
      name - value to be set
      Returns:
      Builder
    • getName

      public String getName()

      New name of the Zone.

      Returns:
      name
    • build

      public ZoneChangeNameAction build()
      builds ZoneChangeNameAction with checking for non-null required values
      Specified by:
      build in interface Builder<ZoneChangeNameAction>
      Returns:
      ZoneChangeNameAction
    • buildUnchecked

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

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

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