Class TypeChangeFieldDefinitionOrderActionBuilder
java.lang.Object
com.commercetools.api.models.type.TypeChangeFieldDefinitionOrderActionBuilder
- All Implemented Interfaces:
Builder<TypeChangeFieldDefinitionOrderAction>
public class TypeChangeFieldDefinitionOrderActionBuilder
extends Object
implements Builder<TypeChangeFieldDefinitionOrderAction>
TypeChangeFieldDefinitionOrderActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
TypeChangeFieldDefinitionOrderAction typeChangeFieldDefinitionOrderAction = TypeChangeFieldDefinitionOrderAction.builder()
.plusFieldNames(fieldNamesBuilder -> fieldNamesBuilder)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds TypeChangeFieldDefinitionOrderAction with checking for non-null required valuesbuilds TypeChangeFieldDefinitionOrderAction without checking for non-null required valuesfieldNames
(String... fieldNames) Must match the set ofname
s of FieldDefinitions (up to order).fieldNames
(List<String> fieldNames) Must match the set ofname
s of FieldDefinitions (up to order).Must match the set ofname
s of FieldDefinitions (up to order).of()
factory method for an instance of TypeChangeFieldDefinitionOrderActionBuilderof
(TypeChangeFieldDefinitionOrderAction template) create builder for TypeChangeFieldDefinitionOrderAction instanceplusFieldNames
(String... fieldNames) Must match the set ofname
s of FieldDefinitions (up to order).
-
Constructor Details
-
TypeChangeFieldDefinitionOrderActionBuilder
public TypeChangeFieldDefinitionOrderActionBuilder()
-
-
Method Details
-
fieldNames
Must match the set of
name
s of FieldDefinitions (up to order).- Parameters:
fieldNames
- value to be set- Returns:
- Builder
-
fieldNames
Must match the set of
name
s of FieldDefinitions (up to order).- Parameters:
fieldNames
- value to be set- Returns:
- Builder
-
plusFieldNames
Must match the set of
name
s of FieldDefinitions (up to order).- Parameters:
fieldNames
- value to be set- Returns:
- Builder
-
getFieldNames
Must match the set of
name
s of FieldDefinitions (up to order).- Returns:
- fieldNames
-
build
builds TypeChangeFieldDefinitionOrderAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<TypeChangeFieldDefinitionOrderAction>
- Returns:
- TypeChangeFieldDefinitionOrderAction
-
buildUnchecked
builds TypeChangeFieldDefinitionOrderAction without checking for non-null required values- Returns:
- TypeChangeFieldDefinitionOrderAction
-
of
factory method for an instance of TypeChangeFieldDefinitionOrderActionBuilder- Returns:
- builder
-
of
public static TypeChangeFieldDefinitionOrderActionBuilder of(TypeChangeFieldDefinitionOrderAction template) create builder for TypeChangeFieldDefinitionOrderAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-