Class TypeRemoveLocalizedEnumValuesActionBuilder
java.lang.Object
com.commercetools.api.models.type.TypeRemoveLocalizedEnumValuesActionBuilder
- All Implemented Interfaces:
Builder<TypeRemoveLocalizedEnumValuesAction>
public class TypeRemoveLocalizedEnumValuesActionBuilder
extends Object
implements Builder<TypeRemoveLocalizedEnumValuesAction>
TypeRemoveLocalizedEnumValuesActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
TypeRemoveLocalizedEnumValuesAction typeRemoveLocalizedEnumValuesAction = TypeRemoveLocalizedEnumValuesAction.builder()
.fieldName("{fieldName}")
.plusKeys(keysBuilder -> keysBuilder)
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()builds TypeRemoveLocalizedEnumValuesAction with checking for non-null required valuesbuilds TypeRemoveLocalizedEnumValuesAction without checking for non-null required valuesnameof the FieldDefinition to update.nameof the FieldDefinition to update.getKeys()Keys of the LocalizedEnumValues to remove.Keys of the LocalizedEnumValues to remove.Keys of the LocalizedEnumValues to remove.of()factory method for an instance of TypeRemoveLocalizedEnumValuesActionBuilderof(TypeRemoveLocalizedEnumValuesAction template) create builder for TypeRemoveLocalizedEnumValuesAction instanceKeys of the LocalizedEnumValues to remove.
-
Constructor Details
-
TypeRemoveLocalizedEnumValuesActionBuilder
public TypeRemoveLocalizedEnumValuesActionBuilder()
-
-
Method Details
-
fieldName
nameof the FieldDefinition to update.- Parameters:
fieldName- value to be set- Returns:
- Builder
-
keys
Keys of the LocalizedEnumValues to remove. An empty array results in no change.
- Parameters:
keys- value to be set- Returns:
- Builder
-
keys
Keys of the LocalizedEnumValues to remove. An empty array results in no change.
- Parameters:
keys- value to be set- Returns:
- Builder
-
plusKeys
Keys of the LocalizedEnumValues to remove. An empty array results in no change.
- Parameters:
keys- value to be set- Returns:
- Builder
-
getFieldName
nameof the FieldDefinition to update.- Returns:
- fieldName
-
getKeys
Keys of the LocalizedEnumValues to remove. An empty array results in no change.
- Returns:
- keys
-
build
builds TypeRemoveLocalizedEnumValuesAction with checking for non-null required values- Specified by:
buildin interfaceBuilder<TypeRemoveLocalizedEnumValuesAction>- Returns:
- TypeRemoveLocalizedEnumValuesAction
-
buildUnchecked
builds TypeRemoveLocalizedEnumValuesAction without checking for non-null required values- Returns:
- TypeRemoveLocalizedEnumValuesAction
-
of
factory method for an instance of TypeRemoveLocalizedEnumValuesActionBuilder- Returns:
- builder
-
of
public static TypeRemoveLocalizedEnumValuesActionBuilder of(TypeRemoveLocalizedEnumValuesAction template) create builder for TypeRemoveLocalizedEnumValuesAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-