Interface ZoneSetKeyAction

All Superinterfaces:
ResourceUpdateAction<ZoneUpdateAction>, ZoneUpdateAction

public interface ZoneSetKeyAction extends ZoneUpdateAction
ZoneSetKeyAction
Example to create an instance using the builder pattern

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

  • Method Details

    • getKey

      String getKey()

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

      Returns:
      key
    • setKey

      void setKey(String key)

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

      Parameters:
      key - value to be set
    • of

      static ZoneSetKeyAction of()
      factory method
      Returns:
      instance of ZoneSetKeyAction
    • of

      static ZoneSetKeyAction of(ZoneSetKeyAction template)
      factory method to create a shallow copy ZoneSetKeyAction
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

      factory method to create a deep copy of ZoneSetKeyAction
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      static ZoneSetKeyActionBuilder builder()
      builder factory method for ZoneSetKeyAction
      Returns:
      builder
    • builder

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

      default <T> T withZoneSetKeyAction(Function<ZoneSetKeyAction,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<ZoneSetKeyAction> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference