Class AttributeGroupSetKeyActionBuilder
java.lang.Object
com.commercetools.api.models.attribute_group.AttributeGroupSetKeyActionBuilder
- All Implemented Interfaces:
Builder<AttributeGroupSetKeyAction>
public class AttributeGroupSetKeyActionBuilder
extends Object
implements Builder<AttributeGroupSetKeyAction>
AttributeGroupSetKeyActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
AttributeGroupSetKeyAction attributeGroupSetKeyAction = AttributeGroupSetKeyAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds AttributeGroupSetKeyAction with checking for non-null required valuesbuilds AttributeGroupSetKeyAction without checking for non-null required valuesgetKey()
Ifkey
is absent ornull
, the existing key, if any, will be removed.Ifkey
is absent ornull
, the existing key, if any, will be removed.of()
factory method for an instance of AttributeGroupSetKeyActionBuilderof
(AttributeGroupSetKeyAction template) create builder for AttributeGroupSetKeyAction instance
-
Constructor Details
-
AttributeGroupSetKeyActionBuilder
public AttributeGroupSetKeyActionBuilder()
-
-
Method Details
-
key
If
key
is absent ornull
, the existing key, if any, will be removed.- Parameters:
key
- value to be set- Returns:
- Builder
-
getKey
If
key
is absent ornull
, the existing key, if any, will be removed.- Returns:
- key
-
build
builds AttributeGroupSetKeyAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<AttributeGroupSetKeyAction>
- Returns:
- AttributeGroupSetKeyAction
-
buildUnchecked
builds AttributeGroupSetKeyAction without checking for non-null required values- Returns:
- AttributeGroupSetKeyAction
-
of
factory method for an instance of AttributeGroupSetKeyActionBuilder- Returns:
- builder
-
of
create builder for AttributeGroupSetKeyAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-