Class TypeRemoveFieldDefinitionActionBuilder
java.lang.Object
com.commercetools.api.models.type.TypeRemoveFieldDefinitionActionBuilder
- All Implemented Interfaces:
Builder<TypeRemoveFieldDefinitionAction>
public class TypeRemoveFieldDefinitionActionBuilder
extends Object
implements Builder<TypeRemoveFieldDefinitionAction>
TypeRemoveFieldDefinitionActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
TypeRemoveFieldDefinitionAction typeRemoveFieldDefinitionAction = TypeRemoveFieldDefinitionAction.builder()
.fieldName("{fieldName}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds TypeRemoveFieldDefinitionAction with checking for non-null required valuesbuilds TypeRemoveFieldDefinitionAction without checking for non-null required valuesname
of the FieldDefinition to remove.name
of the FieldDefinition to remove.of()
factory method for an instance of TypeRemoveFieldDefinitionActionBuilderof
(TypeRemoveFieldDefinitionAction template) create builder for TypeRemoveFieldDefinitionAction instance
-
Constructor Details
-
TypeRemoveFieldDefinitionActionBuilder
public TypeRemoveFieldDefinitionActionBuilder()
-
-
Method Details
-
fieldName
name
of the FieldDefinition to remove. The removal of a FieldDefinition deletes asynchronously all Custom Fields using the FieldDefinition as well.- Parameters:
fieldName
- value to be set- Returns:
- Builder
-
getFieldName
name
of the FieldDefinition to remove. The removal of a FieldDefinition deletes asynchronously all Custom Fields using the FieldDefinition as well.- Returns:
- fieldName
-
build
builds TypeRemoveFieldDefinitionAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<TypeRemoveFieldDefinitionAction>
- Returns:
- TypeRemoveFieldDefinitionAction
-
buildUnchecked
builds TypeRemoveFieldDefinitionAction without checking for non-null required values- Returns:
- TypeRemoveFieldDefinitionAction
-
of
factory method for an instance of TypeRemoveFieldDefinitionActionBuilder- Returns:
- builder
-
of
create builder for TypeRemoveFieldDefinitionAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-