Package | Description |
---|---|
io.sphere.sdk.zones |
Provides model classes and builders for zones.
|
Modifier and Type | Method and Description |
---|---|
ZoneDraftBuilder |
ZoneDraftBuilder.description(String description)
Sets the
description property of this builder. |
ZoneDraftBuilder |
ZoneDraftBuilder.key(String key)
Sets the
key property of this builder. |
ZoneDraftBuilder |
ZoneDraftBuilder.locations(Set<Location> locations)
Sets the
locations property of this builder. |
ZoneDraftBuilder |
ZoneDraftBuilder.name(String name)
Sets the
name property of this builder. |
ZoneDraftBuilder |
ZoneDraftDsl.newBuilder()
Creates a new builder with the values of this object.
|
static ZoneDraftBuilder |
ZoneDraftBuilder.of(String name,
Set<Location> locations)
Creates a new object initialized with the given values.
|
static ZoneDraftBuilder |
ZoneDraftBuilder.of(String name,
Set<Location> locations,
String description)
Creates a new object initialized with the given values.
|
static ZoneDraftBuilder |
ZoneDraftBuilder.of(ZoneDraft template)
Creates a new object initialized with the fields of the template parameter.
|
ZoneDraftBuilder |
ZoneDraftBuilder.plusLocations(Location locations)
Adds
locations parameter to the locations set property of this builder. |
ZoneDraftBuilder |
ZoneDraftBuilder.plusLocations(Set<Location> locations)
Concatenate
locations parameter to the locations set property of this builder. |