Class ProductTypeRemoveEnumValuesActionBuilder
java.lang.Object
com.commercetools.api.models.product_type.ProductTypeRemoveEnumValuesActionBuilder
- All Implemented Interfaces:
Builder<ProductTypeRemoveEnumValuesAction>
public class ProductTypeRemoveEnumValuesActionBuilder
extends Object
implements Builder<ProductTypeRemoveEnumValuesAction>
ProductTypeRemoveEnumValuesActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProductTypeRemoveEnumValuesAction productTypeRemoveEnumValuesAction = ProductTypeRemoveEnumValuesAction.builder()
.attributeName("{attributeName}")
.plusKeys(keysBuilder -> keysBuilder)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionattributeName
(String attributeName) Name of the AttributeDefinition to update.build()
builds ProductTypeRemoveEnumValuesAction with checking for non-null required valuesbuilds ProductTypeRemoveEnumValuesAction without checking for non-null required valuesName of the AttributeDefinition to update.getKeys()
Keys of AttributeEnumType or AttributeLocalizedEnumType to remove.Keys of AttributeEnumType or AttributeLocalizedEnumType to remove.Keys of AttributeEnumType or AttributeLocalizedEnumType to remove.of()
factory method for an instance of ProductTypeRemoveEnumValuesActionBuilderof
(ProductTypeRemoveEnumValuesAction template) create builder for ProductTypeRemoveEnumValuesAction instanceKeys of AttributeEnumType or AttributeLocalizedEnumType to remove.
-
Constructor Details
-
ProductTypeRemoveEnumValuesActionBuilder
public ProductTypeRemoveEnumValuesActionBuilder()
-
-
Method Details
-
attributeName
Name of the AttributeDefinition to update.
- Parameters:
attributeName
- value to be set- Returns:
- Builder
-
keys
Keys of AttributeEnumType or AttributeLocalizedEnumType to remove.
- Parameters:
keys
- value to be set- Returns:
- Builder
-
keys
Keys of AttributeEnumType or AttributeLocalizedEnumType to remove.
- Parameters:
keys
- value to be set- Returns:
- Builder
-
plusKeys
Keys of AttributeEnumType or AttributeLocalizedEnumType to remove.
- Parameters:
keys
- value to be set- Returns:
- Builder
-
getAttributeName
Name of the AttributeDefinition to update.
- Returns:
- attributeName
-
getKeys
Keys of AttributeEnumType or AttributeLocalizedEnumType to remove.
- Returns:
- keys
-
build
builds ProductTypeRemoveEnumValuesAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<ProductTypeRemoveEnumValuesAction>
- Returns:
- ProductTypeRemoveEnumValuesAction
-
buildUnchecked
builds ProductTypeRemoveEnumValuesAction without checking for non-null required values- Returns:
- ProductTypeRemoveEnumValuesAction
-
of
factory method for an instance of ProductTypeRemoveEnumValuesActionBuilder- Returns:
- builder
-
of
public static ProductTypeRemoveEnumValuesActionBuilder of(ProductTypeRemoveEnumValuesAction template) create builder for ProductTypeRemoveEnumValuesAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-