Class TypeChangeInputHintActionBuilder

java.lang.Object
com.commercetools.api.models.type.TypeChangeInputHintActionBuilder
All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<TypeChangeInputHintAction>

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

     TypeChangeInputHintAction typeChangeInputHintAction = TypeChangeInputHintAction.builder()
             .fieldName("{fieldName}")
             .inputHint(TypeTextInputHint.SINGLE_LINE)
             .build()
 
  • Constructor Details

    • TypeChangeInputHintActionBuilder

      public TypeChangeInputHintActionBuilder()
  • Method Details

    • fieldName

      public TypeChangeInputHintActionBuilder fieldName(String fieldName)

      name of the Field Definition to update.

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

      New value to set. Must not be empty.

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

      public String getFieldName()

      name of the Field Definition to update.

      Returns:
      fieldName
    • getInputHint

      public TypeTextInputHint getInputHint()

      New value to set. Must not be empty.

      Returns:
      inputHint
    • build

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

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

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

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