Class AttributeGroupSetAttributesActionBuilder
java.lang.Object
com.commercetools.api.models.attribute_group.AttributeGroupSetAttributesActionBuilder
- All Implemented Interfaces:
Builder<AttributeGroupSetAttributesAction>
public class AttributeGroupSetAttributesActionBuilder
extends Object
implements Builder<AttributeGroupSetAttributesAction>
AttributeGroupSetAttributesActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
AttributeGroupSetAttributesAction attributeGroupSetAttributesAction = AttributeGroupSetAttributesAction.builder()
.plusAttributes(attributesBuilder -> attributesBuilder)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionNew unique values to set.attributes
(AttributeReference... attributes) New unique values to set.attributes
(List<AttributeReference> attributes) New unique values to set.build()
builds AttributeGroupSetAttributesAction with checking for non-null required valuesbuilds AttributeGroupSetAttributesAction without checking for non-null required valuesNew unique values to set.of()
factory method for an instance of AttributeGroupSetAttributesActionBuilderof
(AttributeGroupSetAttributesAction template) create builder for AttributeGroupSetAttributesAction instanceplusAttributes
(AttributeReference... attributes) New unique values to set.New unique values to set.New unique values to set.New unique values to set.
-
Constructor Details
-
AttributeGroupSetAttributesActionBuilder
public AttributeGroupSetAttributesActionBuilder()
-
-
Method Details
-
attributes
New unique values to set.
- Parameters:
attributes
- value to be set- Returns:
- Builder
-
attributes
New unique values to set.
- Parameters:
attributes
- value to be set- Returns:
- Builder
-
plusAttributes
New unique values to set.
- Parameters:
attributes
- value to be set- Returns:
- Builder
-
plusAttributes
public AttributeGroupSetAttributesActionBuilder plusAttributes(Function<AttributeReferenceBuilder, AttributeReferenceBuilder> builder) New unique values to set.
- Parameters:
builder
- function to build the attributes value- Returns:
- Builder
-
withAttributes
public AttributeGroupSetAttributesActionBuilder withAttributes(Function<AttributeReferenceBuilder, AttributeReferenceBuilder> builder) New unique values to set.
- Parameters:
builder
- function to build the attributes value- Returns:
- Builder
-
addAttributes
public AttributeGroupSetAttributesActionBuilder addAttributes(Function<AttributeReferenceBuilder, AttributeReference> builder) New unique values to set.
- Parameters:
builder
- function to build the attributes value- Returns:
- Builder
-
setAttributes
public AttributeGroupSetAttributesActionBuilder setAttributes(Function<AttributeReferenceBuilder, AttributeReference> builder) New unique values to set.
- Parameters:
builder
- function to build the attributes value- Returns:
- Builder
-
getAttributes
New unique values to set.
- Returns:
- attributes
-
build
builds AttributeGroupSetAttributesAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<AttributeGroupSetAttributesAction>
- Returns:
- AttributeGroupSetAttributesAction
-
buildUnchecked
builds AttributeGroupSetAttributesAction without checking for non-null required values- Returns:
- AttributeGroupSetAttributesAction
-
of
factory method for an instance of AttributeGroupSetAttributesActionBuilder- Returns:
- builder
-
of
public static AttributeGroupSetAttributesActionBuilder of(AttributeGroupSetAttributesAction template) create builder for AttributeGroupSetAttributesAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-