Interface ZoneAddLocationAction

All Superinterfaces:
ResourceUpdateAction<ZoneUpdateAction>, ZoneUpdateAction

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

     ZoneAddLocationAction zoneAddLocationAction = ZoneAddLocationAction.builder()
             .location(locationBuilder -> locationBuilder)
             .build()
 
  • Field Details

  • Method Details

    • getLocation

      @NotNull @Valid @NotNull @Valid Location getLocation()

      Location to be added to the Zone.

      Returns:
      location
    • setLocation

      void setLocation(Location location)

      Location to be added to the Zone.

      Parameters:
      location - value to be set
    • of

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

      factory method to create a shallow copy ZoneAddLocationAction
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

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

      static ZoneAddLocationActionBuilder builder()
      builder factory method for ZoneAddLocationAction
      Returns:
      builder
    • builder

      create builder for ZoneAddLocationAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withZoneAddLocationAction

      default <T> T withZoneAddLocationAction(Function<ZoneAddLocationAction,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<ZoneAddLocationAction> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference