Class TypeRemoveFieldDefinitionActionBuilder

java.lang.Object
com.commercetools.api.models.type.TypeRemoveFieldDefinitionActionBuilder
All Implemented Interfaces:
Builder<TypeRemoveFieldDefinitionAction>

public class TypeRemoveFieldDefinitionActionBuilder extends Object implements Builder<TypeRemoveFieldDefinitionAction>
TypeRemoveFieldDefinitionActionBuilder
Example to create an instance using the builder pattern

     TypeRemoveFieldDefinitionAction typeRemoveFieldDefinitionAction = TypeRemoveFieldDefinitionAction.builder()
             .fieldName("{fieldName}")
             .build()
 
  • Constructor Details

    • TypeRemoveFieldDefinitionActionBuilder

      public TypeRemoveFieldDefinitionActionBuilder()
  • Method Details

    • fieldName

      public TypeRemoveFieldDefinitionActionBuilder fieldName(String fieldName)

      name of the FieldDefinition to remove. The removal of a FieldDefinition deletes asynchronously all Custom Fields using the FieldDefinition as well.

      Parameters:
      fieldName - value to be set
      Returns:
      Builder
    • getFieldName

      public String getFieldName()

      name of the FieldDefinition to remove. The removal of a FieldDefinition deletes asynchronously all Custom Fields using the FieldDefinition as well.

      Returns:
      fieldName
    • build

      builds TypeRemoveFieldDefinitionAction with checking for non-null required values
      Specified by:
      build in interface Builder<TypeRemoveFieldDefinitionAction>
      Returns:
      TypeRemoveFieldDefinitionAction
    • buildUnchecked

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

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

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