Class TypeChangeInputHintActionBuilder
java.lang.Object
com.commercetools.api.models.type.TypeChangeInputHintActionBuilder
- All Implemented Interfaces:
Builder<TypeChangeInputHintAction>
public class TypeChangeInputHintActionBuilder
extends Object
implements Builder<TypeChangeInputHintAction>
TypeChangeInputHintActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
TypeChangeInputHintAction typeChangeInputHintAction = TypeChangeInputHintAction.builder()
.fieldName("{fieldName}")
.inputHint(TypeTextInputHint.SINGLE_LINE)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds TypeChangeInputHintAction with checking for non-null required valuesbuilds TypeChangeInputHintAction without checking for non-null required valuesname
of the Field Definition to update.name
of the Field Definition to update.New value to set.inputHint
(TypeTextInputHint inputHint) New value to set.of()
factory method for an instance of TypeChangeInputHintActionBuilderof
(TypeChangeInputHintAction template) create builder for TypeChangeInputHintAction instance
-
Constructor Details
-
TypeChangeInputHintActionBuilder
public TypeChangeInputHintActionBuilder()
-
-
Method Details
-
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
name
of the Field Definition to update.- Returns:
- fieldName
-
getInputHint
New value to set. Must not be empty.
- Returns:
- inputHint
-
build
builds TypeChangeInputHintAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<TypeChangeInputHintAction>
- Returns:
- 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
-