@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 |
---|---|
String |
getGroupName() |
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 |
withGroupName(String groupName) |
public String getGroupName()
getGroupName
in interface CustomerGroupDraft
public CustomerGroupDraftBuilder newBuilder()
public CustomerGroupDraftDsl withGroupName(String groupName)
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