Class ZoneSetKeyActionBuilder

java.lang.Object
com.commercetools.api.models.zone.ZoneSetKeyActionBuilder
All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<ZoneSetKeyAction>

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

     ZoneSetKeyAction zoneSetKeyAction = ZoneSetKeyAction.builder()
             .build()
 
  • Constructor Details

  • Method Details

    • key

      If key is absent or null, the existing key, if any, will be removed.

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

      If key is absent or null, the existing key, if any, will be removed.

      Returns:
      key
    • build

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

      builds ZoneSetKeyAction without checking for non-null required values
      Returns:
      ZoneSetKeyAction
    • of

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

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