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