@Generated(value="io.sphere.sdk.annotations.processors.generators.DraftBuilderGenerator", comments="Generated from: io.sphere.sdk.projects.CartClassificationDraft") public final class CartClassificationDraftBuilder extends Base implements Builder<CartClassificationDraftDsl>
CartClassificationDraft
.Modifier and Type | Method and Description |
---|---|
CartClassificationDraftDsl |
build()
Creates a new instance of
CartClassificationDraftDsl with the values of this builder. |
Set<LocalizedEnumValue> |
getValues() |
static CartClassificationDraftBuilder |
of(CartClassificationDraft template)
Creates a new object initialized with the fields of the template parameter.
|
static CartClassificationDraftBuilder |
of(Set<LocalizedEnumValue> values)
Creates a new object initialized with the given values.
|
CartClassificationDraftBuilder |
plusValues(LocalizedEnumValue values)
Adds
values parameter to the values set property of this builder. |
CartClassificationDraftBuilder |
plusValues(Set<LocalizedEnumValue> values)
Concatenate
values parameter to the values set property of this builder. |
CartClassificationDraftBuilder |
values(Set<LocalizedEnumValue> values)
Sets the
values property of this builder. |
public CartClassificationDraftBuilder values(Set<LocalizedEnumValue> values)
values
property of this builder.values
- the value for CartClassificationDraft.getValues()
public Set<LocalizedEnumValue> getValues()
public CartClassificationDraftBuilder plusValues(Set<LocalizedEnumValue> values)
values
parameter to the values
set property of this builder.values
- the value for CartClassificationDraft.getValues()
public CartClassificationDraftBuilder plusValues(LocalizedEnumValue values)
values
parameter to the values
set property of this builder.values
- the value of the element to add to CartClassificationDraft.getValues()
public CartClassificationDraftDsl build()
CartClassificationDraftDsl
with the values of this builder.build
in interface Builder<CartClassificationDraftDsl>
public static CartClassificationDraftBuilder of(Set<LocalizedEnumValue> values)
values
- initial value for the CartClassificationDraft.getValues()
propertypublic static CartClassificationDraftBuilder of(CartClassificationDraft template)
template
- the template