Interface CategorySetAssetKeyAction

All Superinterfaces:
CategoryUpdateAction, ResourceUpdateAction<CategoryUpdateAction>

public interface CategorySetAssetKeyAction extends CategoryUpdateAction

Set or remove the key of an Asset.


Example to create an instance using the builder pattern

     CategorySetAssetKeyAction categorySetAssetKeyAction = CategorySetAssetKeyAction.builder()
             .assetId("{assetId}")
             .build()
 
  • Field Details

  • Method Details

    • getAssetId

      @NotNull @NotNull String getAssetId()

      Value to set.

      Returns:
      assetId
    • getAssetKey

      String getAssetKey()

      Value to set. If empty, any existing value will be removed.

      Returns:
      assetKey
    • setAssetId

      void setAssetId(String assetId)

      Value to set.

      Parameters:
      assetId - value to be set
    • setAssetKey

      void setAssetKey(String assetKey)

      Value to set. If empty, any existing value will be removed.

      Parameters:
      assetKey - value to be set
    • of

      factory method
      Returns:
      instance of CategorySetAssetKeyAction
    • of

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

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

      builder factory method for CategorySetAssetKeyAction
      Returns:
      builder
    • builder

      create builder for CategorySetAssetKeyAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withCategorySetAssetKeyAction

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