Class CategorySetAssetKeyActionBuilder

java.lang.Object
com.commercetools.api.models.category.CategorySetAssetKeyActionBuilder
All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<CategorySetAssetKeyAction>

public class CategorySetAssetKeyActionBuilder extends Object implements io.vrap.rmf.base.client.Builder<CategorySetAssetKeyAction>
CategorySetAssetKeyActionBuilder
Example to create an instance using the builder pattern

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

    • CategorySetAssetKeyActionBuilder

      public CategorySetAssetKeyActionBuilder()
  • Method Details

    • assetId

      public CategorySetAssetKeyActionBuilder assetId(String assetId)

      Value to set.

      Parameters:
      assetId - value to be set
      Returns:
      Builder
    • assetKey

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

      Parameters:
      assetKey - value to be set
      Returns:
      Builder
    • getAssetId

      public String getAssetId()

      Value to set.

      Returns:
      assetId
    • getAssetKey

      @Nullable public String getAssetKey()

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

      Returns:
      assetKey
    • build

      public CategorySetAssetKeyAction build()
      builds CategorySetAssetKeyAction with checking for non-null required values
      Specified by:
      build in interface io.vrap.rmf.base.client.Builder<CategorySetAssetKeyAction>
      Returns:
      CategorySetAssetKeyAction
    • buildUnchecked

      public CategorySetAssetKeyAction buildUnchecked()
      builds CategorySetAssetKeyAction without checking for non-null required values
      Returns:
      CategorySetAssetKeyAction
    • of

      factory method for an instance of CategorySetAssetKeyActionBuilder
      Returns:
      builder
    • of

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