| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
String |
getKey() |
Set<Location> |
getLocations() |
String |
getName() |
ZoneDraftBuilder |
newBuilder()
Creates a new builder with the values of this object.
|
static ZoneDraftDsl |
of(String name,
Set<Location> locations)
Creates a new object initialized with the given values.
|
static ZoneDraftDsl |
of(String name,
Set<Location> locations,
String description)
Creates a new object initialized with the given values.
|
static ZoneDraftDsl |
of(ZoneDraft template)
Creates a new object initialized with the fields of the template parameter.
|
ZoneDraftDsl |
withDescription(String description) |
ZoneDraftDsl |
withKey(String key) |
ZoneDraftDsl |
withLocations(Set<Location> locations) |
ZoneDraftDsl |
withName(String name) |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitofCountries@Nullable public String getDescription()
getDescription in interface ZoneDraftpublic Set<Location> getLocations()
getLocations in interface ZoneDraftpublic ZoneDraftBuilder newBuilder()
public ZoneDraftDsl withDescription(@Nullable String description)
public ZoneDraftDsl withKey(@Nullable String key)
public ZoneDraftDsl withLocations(Set<Location> locations)
public ZoneDraftDsl withName(String name)
public static ZoneDraftDsl of(String name, Set<Location> locations, @Nullable String description)
of in interface ZoneDraftname - initial value for the ZoneDraft.getName() propertylocations - initial value for the ZoneDraft.getLocations() propertydescription - initial value for the ZoneDraft.getDescription() propertypublic static ZoneDraftDsl of(String name, Set<Location> locations)
of in interface ZoneDraftname - initial value for the ZoneDraft.getName() propertylocations - initial value for the ZoneDraft.getLocations() propertypublic static ZoneDraftDsl of(ZoneDraft template)
template - the template