Class TypeChangeEnumValueOrderActionBuilder
java.lang.Object
com.commercetools.api.models.type.TypeChangeEnumValueOrderActionBuilder
- All Implemented Interfaces:
Builder<TypeChangeEnumValueOrderAction>
public class TypeChangeEnumValueOrderActionBuilder
extends Object
implements Builder<TypeChangeEnumValueOrderAction>
TypeChangeEnumValueOrderActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
TypeChangeEnumValueOrderAction typeChangeEnumValueOrderAction = TypeChangeEnumValueOrderAction.builder()
.fieldName("{fieldName}")
.plusKeys(keysBuilder -> keysBuilder)
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()builds TypeChangeEnumValueOrderAction with checking for non-null required valuesbuilds TypeChangeEnumValueOrderAction without checking for non-null required valuesnameof the FieldDefinition to update.nameof the FieldDefinition to update.getKeys()Must match the set ofkeys of the EnumValues in the FieldDefinition (apart from their order).Must match the set ofkeys of the EnumValues in the FieldDefinition (apart from their order).Must match the set ofkeys of the EnumValues in the FieldDefinition (apart from their order).of()factory method for an instance of TypeChangeEnumValueOrderActionBuilderof(TypeChangeEnumValueOrderAction template) create builder for TypeChangeEnumValueOrderAction instanceMust match the set ofkeys of the EnumValues in the FieldDefinition (apart from their order).
-
Constructor Details
-
TypeChangeEnumValueOrderActionBuilder
public TypeChangeEnumValueOrderActionBuilder()
-
-
Method Details
-
fieldName
nameof the FieldDefinition to update.- Parameters:
fieldName- value to be set- Returns:
- Builder
-
keys
Must match the set of
keys of the EnumValues in the FieldDefinition (apart from their order).- Parameters:
keys- value to be set- Returns:
- Builder
-
keys
Must match the set of
keys of the EnumValues in the FieldDefinition (apart from their order).- Parameters:
keys- value to be set- Returns:
- Builder
-
plusKeys
Must match the set of
keys of the EnumValues in the FieldDefinition (apart from their order).- Parameters:
keys- value to be set- Returns:
- Builder
-
getFieldName
nameof the FieldDefinition to update.- Returns:
- fieldName
-
getKeys
Must match the set of
keys of the EnumValues in the FieldDefinition (apart from their order).- Returns:
- keys
-
build
builds TypeChangeEnumValueOrderAction with checking for non-null required values- Specified by:
buildin interfaceBuilder<TypeChangeEnumValueOrderAction>- Returns:
- TypeChangeEnumValueOrderAction
-
buildUnchecked
builds TypeChangeEnumValueOrderAction without checking for non-null required values- Returns:
- TypeChangeEnumValueOrderAction
-
of
factory method for an instance of TypeChangeEnumValueOrderActionBuilder- Returns:
- builder
-
of
create builder for TypeChangeEnumValueOrderAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-