Class ProductTypeChangeInputHintActionBuilder
java.lang.Object
com.commercetools.api.models.product_type.ProductTypeChangeInputHintActionBuilder
- All Implemented Interfaces:
Builder<ProductTypeChangeInputHintAction>
public class ProductTypeChangeInputHintActionBuilder
extends Object
implements Builder<ProductTypeChangeInputHintAction>
ProductTypeChangeInputHintActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProductTypeChangeInputHintAction productTypeChangeInputHintAction = ProductTypeChangeInputHintAction.builder()
.attributeName("{attributeName}")
.newValue(TextInputHint.SINGLE_LINE)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionattributeName
(String attributeName) Name of the AttributeDefinition to update.build()
builds ProductTypeChangeInputHintAction with checking for non-null required valuesbuilds ProductTypeChangeInputHintAction without checking for non-null required valuesName of the AttributeDefinition to update.SingleLine
orMultiLine
newValue
(TextInputHint newValue) SingleLine
orMultiLine
of()
factory method for an instance of ProductTypeChangeInputHintActionBuilderof
(ProductTypeChangeInputHintAction template) create builder for ProductTypeChangeInputHintAction instance
-
Constructor Details
-
ProductTypeChangeInputHintActionBuilder
public ProductTypeChangeInputHintActionBuilder()
-
-
Method Details
-
attributeName
Name of the AttributeDefinition to update.
- Parameters:
attributeName
- value to be set- Returns:
- Builder
-
newValue
SingleLine
orMultiLine
- Parameters:
newValue
- value to be set- Returns:
- Builder
-
getAttributeName
Name of the AttributeDefinition to update.
- Returns:
- attributeName
-
getNewValue
SingleLine
orMultiLine
- Returns:
- newValue
-
build
builds ProductTypeChangeInputHintAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<ProductTypeChangeInputHintAction>
- Returns:
- ProductTypeChangeInputHintAction
-
buildUnchecked
builds ProductTypeChangeInputHintAction without checking for non-null required values- Returns:
- ProductTypeChangeInputHintAction
-
of
factory method for an instance of ProductTypeChangeInputHintActionBuilder- Returns:
- builder
-
of
create builder for ProductTypeChangeInputHintAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-