Class ProductTypeChangeLocalizedEnumValueOrderActionBuilder
- All Implemented Interfaces:
Builder<ProductTypeChangeLocalizedEnumValueOrderAction>
Example to create an instance using the builder pattern
ProductTypeChangeLocalizedEnumValueOrderAction productTypeChangeLocalizedEnumValueOrderAction = ProductTypeChangeLocalizedEnumValueOrderAction.builder()
.attributeName("{attributeName}")
.plusValues(valuesBuilder -> valuesBuilder)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionValues must be equal to the values of the Attribute enum values (except for the order).attributeName
(String attributeName) Name of the AttributeDefinition to update.build()
builds ProductTypeChangeLocalizedEnumValueOrderAction with checking for non-null required valuesbuilds ProductTypeChangeLocalizedEnumValueOrderAction without checking for non-null required valuesName of the AttributeDefinition to update.Values must be equal to the values of the Attribute enum values (except for the order).of()
factory method for an instance of ProductTypeChangeLocalizedEnumValueOrderActionBuildercreate builder for ProductTypeChangeLocalizedEnumValueOrderAction instanceplusValues
(AttributeLocalizedEnumValue... values) Values must be equal to the values of the Attribute enum values (except for the order).Values must be equal to the values of the Attribute enum values (except for the order).Values must be equal to the values of the Attribute enum values (except for the order).values
(AttributeLocalizedEnumValue... values) Values must be equal to the values of the Attribute enum values (except for the order).values
(List<AttributeLocalizedEnumValue> values) Values must be equal to the values of the Attribute enum values (except for the order).Values must be equal to the values of the Attribute enum values (except for the order).
-
Constructor Details
-
ProductTypeChangeLocalizedEnumValueOrderActionBuilder
public ProductTypeChangeLocalizedEnumValueOrderActionBuilder()
-
-
Method Details
-
attributeName
Name of the AttributeDefinition to update.
- Parameters:
attributeName
- value to be set- Returns:
- Builder
-
values
public ProductTypeChangeLocalizedEnumValueOrderActionBuilder values(AttributeLocalizedEnumValue... values) Values must be equal to the values of the Attribute enum values (except for the order). If not, an EnumValuesMustMatch error is returned.
- Parameters:
values
- value to be set- Returns:
- Builder
-
values
public ProductTypeChangeLocalizedEnumValueOrderActionBuilder values(List<AttributeLocalizedEnumValue> values) Values must be equal to the values of the Attribute enum values (except for the order). If not, an EnumValuesMustMatch error is returned.
- Parameters:
values
- value to be set- Returns:
- Builder
-
plusValues
public ProductTypeChangeLocalizedEnumValueOrderActionBuilder plusValues(AttributeLocalizedEnumValue... values) Values must be equal to the values of the Attribute enum values (except for the order). If not, an EnumValuesMustMatch error is returned.
- Parameters:
values
- value to be set- Returns:
- Builder
-
plusValues
public ProductTypeChangeLocalizedEnumValueOrderActionBuilder plusValues(Function<AttributeLocalizedEnumValueBuilder, AttributeLocalizedEnumValueBuilder> builder) Values must be equal to the values of the Attribute enum values (except for the order). If not, an EnumValuesMustMatch error is returned.
- Parameters:
builder
- function to build the values value- Returns:
- Builder
-
withValues
public ProductTypeChangeLocalizedEnumValueOrderActionBuilder withValues(Function<AttributeLocalizedEnumValueBuilder, AttributeLocalizedEnumValueBuilder> builder) Values must be equal to the values of the Attribute enum values (except for the order). If not, an EnumValuesMustMatch error is returned.
- Parameters:
builder
- function to build the values value- Returns:
- Builder
-
addValues
public ProductTypeChangeLocalizedEnumValueOrderActionBuilder addValues(Function<AttributeLocalizedEnumValueBuilder, AttributeLocalizedEnumValue> builder) Values must be equal to the values of the Attribute enum values (except for the order). If not, an EnumValuesMustMatch error is returned.
- Parameters:
builder
- function to build the values value- Returns:
- Builder
-
setValues
public ProductTypeChangeLocalizedEnumValueOrderActionBuilder setValues(Function<AttributeLocalizedEnumValueBuilder, AttributeLocalizedEnumValue> builder) Values must be equal to the values of the Attribute enum values (except for the order). If not, an EnumValuesMustMatch error is returned.
- Parameters:
builder
- function to build the values value- Returns:
- Builder
-
getAttributeName
Name of the AttributeDefinition to update.
- Returns:
- attributeName
-
getValues
Values must be equal to the values of the Attribute enum values (except for the order). If not, an EnumValuesMustMatch error is returned.
- Returns:
- values
-
build
builds ProductTypeChangeLocalizedEnumValueOrderAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<ProductTypeChangeLocalizedEnumValueOrderAction>
- Returns:
- ProductTypeChangeLocalizedEnumValueOrderAction
-
buildUnchecked
builds ProductTypeChangeLocalizedEnumValueOrderAction without checking for non-null required values- Returns:
- ProductTypeChangeLocalizedEnumValueOrderAction
-
of
factory method for an instance of ProductTypeChangeLocalizedEnumValueOrderActionBuilder- Returns:
- builder
-
of
public static ProductTypeChangeLocalizedEnumValueOrderActionBuilder of(ProductTypeChangeLocalizedEnumValueOrderAction template) create builder for ProductTypeChangeLocalizedEnumValueOrderAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-