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
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds TypeChangeLocalizedEnumValueOrderAction with checking for non-null required valuesbuilds TypeChangeLocalizedEnumValueOrderAction without checking for non-null required valuesname
of the Field Definition to update.name
of the Field Definition to update.getKeys()
Must match the set ofkey
s of the LocalizedEnumValues in the FieldDefinition (up to order).Must match the set ofkey
s of the LocalizedEnumValues in the FieldDefinition (up to order).Must match the set ofkey
s 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 ofkey
s of the LocalizedEnumValues in the FieldDefinition (up to order).
-
Constructor Details
-
TypeChangeLocalizedEnumValueOrderActionBuilder
public TypeChangeLocalizedEnumValueOrderActionBuilder()
-
-
Method Details
-
fieldName
name
of the Field Definition to update.- Parameters:
fieldName
- value to be set- Returns:
- Builder
-
keys
Must match the set of
key
s of the LocalizedEnumValues in the FieldDefinition (up to order).- Parameters:
keys
- value to be set- Returns:
- Builder
-
keys
Must match the set of
key
s of the LocalizedEnumValues in the FieldDefinition (up to order).- Parameters:
keys
- value to be set- Returns:
- Builder
-
plusKeys
Must match the set of
key
s of the LocalizedEnumValues in the FieldDefinition (up to order).- Parameters:
keys
- value to be set- Returns:
- Builder
-
getFieldName
name
of the Field Definition to update.- Returns:
- fieldName
-
getKeys
Must match the set of
key
s of the LocalizedEnumValues in the FieldDefinition (up to order).- Returns:
- keys
-
build
builds TypeChangeLocalizedEnumValueOrderAction with checking for non-null required values- Specified by:
build
in 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
-