@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, waitof@Nullable public CustomFieldsDraft getCustom()
getCustom in interface CustomerGroupDraftgetCustom in interface CustomDraftpublic String getGroupName()
getGroupName in interface CustomerGroupDraft@Nullable public String getKey()
getKey in interface CustomerGroupDraftgetKey in interface WithKeypublic 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 CustomerGroupDraftgroupName - initial value for the CustomerGroupDraft.getGroupName() propertypublic static CustomerGroupDraftDsl of(CustomerGroupDraft template)
template - the template