Class ProductTypeChangePlainEnumValueOrderActionBuilder
- All Implemented Interfaces:
Builder<ProductTypeChangePlainEnumValueOrderAction>
Example to create an instance using the builder pattern
ProductTypeChangePlainEnumValueOrderAction productTypeChangePlainEnumValueOrderAction = ProductTypeChangePlainEnumValueOrderAction.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 ProductTypeChangePlainEnumValueOrderAction with checking for non-null required valuesbuilds ProductTypeChangePlainEnumValueOrderAction 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 ProductTypeChangePlainEnumValueOrderActionBuilderof
(ProductTypeChangePlainEnumValueOrderAction template) create builder for ProductTypeChangePlainEnumValueOrderAction instanceplusValues
(AttributePlainEnumValue... 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
(AttributePlainEnumValue... values) Values must be equal to the values of the Attribute enum values (except for the order).values
(List<AttributePlainEnumValue> 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
-
ProductTypeChangePlainEnumValueOrderActionBuilder
public ProductTypeChangePlainEnumValueOrderActionBuilder()
-
-
Method Details
-
attributeName
Name of the AttributeDefinition to update.
- Parameters:
attributeName
- value to be set- Returns:
- Builder
-
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 ProductTypeChangePlainEnumValueOrderActionBuilder values(List<AttributePlainEnumValue> 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 ProductTypeChangePlainEnumValueOrderActionBuilder plusValues(AttributePlainEnumValue... 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 ProductTypeChangePlainEnumValueOrderActionBuilder plusValues(Function<AttributePlainEnumValueBuilder, AttributePlainEnumValueBuilder> 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 ProductTypeChangePlainEnumValueOrderActionBuilder withValues(Function<AttributePlainEnumValueBuilder, AttributePlainEnumValueBuilder> 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 ProductTypeChangePlainEnumValueOrderActionBuilder addValues(Function<AttributePlainEnumValueBuilder, AttributePlainEnumValue> 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 ProductTypeChangePlainEnumValueOrderActionBuilder setValues(Function<AttributePlainEnumValueBuilder, AttributePlainEnumValue> 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 ProductTypeChangePlainEnumValueOrderAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<ProductTypeChangePlainEnumValueOrderAction>
- Returns:
- ProductTypeChangePlainEnumValueOrderAction
-
buildUnchecked
builds ProductTypeChangePlainEnumValueOrderAction without checking for non-null required values- Returns:
- ProductTypeChangePlainEnumValueOrderAction
-
of
factory method for an instance of ProductTypeChangePlainEnumValueOrderActionBuilder- Returns:
- builder
-
of
public static ProductTypeChangePlainEnumValueOrderActionBuilder of(ProductTypeChangePlainEnumValueOrderAction template) create builder for ProductTypeChangePlainEnumValueOrderAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-