Interface ZoneRemoveLocationAction

All Superinterfaces:
ResourceUpdateAction<ZoneUpdateAction>, ZoneUpdateAction

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

     ZoneRemoveLocationAction zoneRemoveLocationAction = ZoneRemoveLocationAction.builder()
             .location(locationBuilder -> locationBuilder)
             .build()
 
  • Field Details

    • REMOVE_LOCATION

      static final String REMOVE_LOCATION
      discriminator value for ZoneRemoveLocationAction
      See Also:
  • Method Details

    • getLocation

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

      Location to be removed from the Zone.

      Returns:
      location
    • setLocation

      void setLocation(Location location)

      Location to be removed from the Zone.

      Parameters:
      location - value to be set
    • of

      factory method
      Returns:
      instance of ZoneRemoveLocationAction
    • of

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

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

      builder factory method for ZoneRemoveLocationAction
      Returns:
      builder
    • builder

      create builder for ZoneRemoveLocationAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withZoneRemoveLocationAction

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