Class ProductTypeChangeAttributeNameActionBuilder
- All Implemented Interfaces:
Builder<ProductTypeChangeAttributeNameAction>
Example to create an instance using the builder pattern
ProductTypeChangeAttributeNameAction productTypeChangeAttributeNameAction = ProductTypeChangeAttributeNameAction.builder()
.attributeName("{attributeName}")
.newAttributeName("{newAttributeName}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionattributeName
(String attributeName) Name of the AttributeDefinition to update.build()
builds ProductTypeChangeAttributeNameAction with checking for non-null required valuesbuilds ProductTypeChangeAttributeNameAction without checking for non-null required valuesName of the AttributeDefinition to update.New user-defined name of the Attribute that is unique with the Project.newAttributeName
(String newAttributeName) New user-defined name of the Attribute that is unique with the Project.of()
factory method for an instance of ProductTypeChangeAttributeNameActionBuilderof
(ProductTypeChangeAttributeNameAction template) create builder for ProductTypeChangeAttributeNameAction instance
-
Constructor Details
-
ProductTypeChangeAttributeNameActionBuilder
public ProductTypeChangeAttributeNameActionBuilder()
-
-
Method Details
-
attributeName
Name of the AttributeDefinition to update.
- Parameters:
attributeName
- value to be set- Returns:
- Builder
-
newAttributeName
New user-defined name of the Attribute that is unique with the Project.
When using the same
name
for an Attribute in two or more ProductTypes, all fields of the AttributeDefinition of this Attribute must be the same across the ProductTypes. If not, an AttributeDefinitionAlreadyExists error is returned. An exception to this are the values of anenum
orlenum
type and sets thereof.- Parameters:
newAttributeName
- value to be set- Returns:
- Builder
-
getAttributeName
Name of the AttributeDefinition to update.
- Returns:
- attributeName
-
getNewAttributeName
New user-defined name of the Attribute that is unique with the Project.
When using the same
name
for an Attribute in two or more ProductTypes, all fields of the AttributeDefinition of this Attribute must be the same across the ProductTypes. If not, an AttributeDefinitionAlreadyExists error is returned. An exception to this are the values of anenum
orlenum
type and sets thereof.- Returns:
- newAttributeName
-
build
builds ProductTypeChangeAttributeNameAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<ProductTypeChangeAttributeNameAction>
- Returns:
- ProductTypeChangeAttributeNameAction
-
buildUnchecked
builds ProductTypeChangeAttributeNameAction without checking for non-null required values- Returns:
- ProductTypeChangeAttributeNameAction
-
of
factory method for an instance of ProductTypeChangeAttributeNameActionBuilder- Returns:
- builder
-
of
public static ProductTypeChangeAttributeNameActionBuilder of(ProductTypeChangeAttributeNameAction template) create builder for ProductTypeChangeAttributeNameAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-