Interface CategorySetAssetDescriptionAction

All Superinterfaces:
CategoryUpdateAction, ResourceUpdateAction<CategoryUpdateAction>

public interface CategorySetAssetDescriptionAction extends CategoryUpdateAction
CategorySetAssetDescriptionAction
Example to create an instance using the builder pattern

     CategorySetAssetDescriptionAction categorySetAssetDescriptionAction = CategorySetAssetDescriptionAction.builder()
             .build()
 
  • Field Details

    • SET_ASSET_DESCRIPTION

      static final String SET_ASSET_DESCRIPTION
      discriminator value for CategorySetAssetDescriptionAction
      See Also:
  • Method Details

    • getAssetId

      String getAssetId()

      New value to set. Either assetId or assetKey is required.

      Returns:
      assetId
    • getAssetKey

      String getAssetKey()

      New value to set. Either assetId or assetKey is required.

      Returns:
      assetKey
    • getDescription

      @Valid @Valid LocalizedString getDescription()

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

      Returns:
      description
    • setAssetId

      void setAssetId(String assetId)

      New value to set. Either assetId or assetKey is required.

      Parameters:
      assetId - value to be set
    • setAssetKey

      void setAssetKey(String assetKey)

      New value to set. Either assetId or assetKey is required.

      Parameters:
      assetKey - value to be set
    • setDescription

      void setDescription(LocalizedString description)

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

      Parameters:
      description - value to be set
    • of

      factory method
      Returns:
      instance of CategorySetAssetDescriptionAction
    • of

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

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

      builder factory method for CategorySetAssetDescriptionAction
      Returns:
      builder
    • builder

      create builder for CategorySetAssetDescriptionAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withCategorySetAssetDescriptionAction

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