@Generated(value="io.sphere.sdk.annotations.processors.generators.ResourceDraftValueGenerator", comments="Generated from: io.sphere.sdk.customergroups.CustomerGroupDraft") public final class CustomerGroupDraftDsl extends Base implements CustomerGroupDraft
CustomerGroupDraft
.Modifier and Type | Method and Description |
---|---|
CustomFieldsDraft |
getCustom() |
String |
getGroupName() |
String |
getKey() |
CustomerGroupDraftBuilder |
newBuilder()
Creates a new builder with the values of this object.
|
static CustomerGroupDraftDsl |
of(CustomerGroupDraft template)
Creates a new object initialized with the fields of the template parameter.
|
static CustomerGroupDraftDsl |
of(String groupName)
Creates a new object initialized with the given values.
|
CustomerGroupDraftDsl |
withCustom(CustomFieldsDraft custom) |
CustomerGroupDraftDsl |
withGroupName(String groupName) |
CustomerGroupDraftDsl |
withKey(String key) |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
of
@Nullable public CustomFieldsDraft getCustom()
getCustom
in interface CustomerGroupDraft
getCustom
in interface CustomDraft
public String getGroupName()
getGroupName
in interface CustomerGroupDraft
@Nullable public String getKey()
getKey
in interface CustomerGroupDraft
getKey
in interface WithKey
public CustomerGroupDraftBuilder newBuilder()
public CustomerGroupDraftDsl withCustom(@Nullable CustomFieldsDraft custom)
public CustomerGroupDraftDsl withGroupName(String groupName)
public CustomerGroupDraftDsl withKey(@Nullable String key)
public static CustomerGroupDraftDsl of(String groupName)
of
in interface CustomerGroupDraft
groupName
- initial value for the CustomerGroupDraft.getGroupName()
propertypublic static CustomerGroupDraftDsl of(CustomerGroupDraft template)
template
- the template