Class AttributeGroupBuilder

java.lang.Object
com.commercetools.api.models.attribute_group.AttributeGroupBuilder
All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<AttributeGroup>

public class AttributeGroupBuilder extends Object implements io.vrap.rmf.base.client.Builder<AttributeGroup>
AttributeGroupBuilder
Example to create an instance using the builder pattern

     AttributeGroup attributeGroup = AttributeGroup.builder()
             .id("{id}")
             .version(0.3)
             .createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
             .lastModifiedAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
             .name(nameBuilder -> nameBuilder)
             .plusAttributes(attributesBuilder -> attributesBuilder)
             .build()