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