Class ZoneBuilder

java.lang.Object
com.commercetools.api.models.zone.ZoneBuilder
All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<Zone>

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

     Zone zone = Zone.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("{name}")
             .plusLocations(locationsBuilder -> locationsBuilder)
             .build()