@Generated(value="io.sphere.sdk.annotations.processors.generators.DraftBuilderGenerator", comments="Generated from: io.sphere.sdk.stores.ProductSelectionSettingDraft") public final class ProductSelectionSettingDraftBuilder extends Base implements Builder<ProductSelectionSettingDraftDsl>
ProductSelectionSettingDraft
.Modifier and Type | Method and Description |
---|---|
ProductSelectionSettingDraftBuilder |
active(Boolean active)
Sets the
active property of this builder. |
ProductSelectionSettingDraftDsl |
build()
Creates a new instance of
ProductSelectionSettingDraftDsl with the values of this builder. |
Boolean |
getActive() |
ResourceIdentifier<ProductSelection> |
getProductSelection() |
ProductSelectionSettingDraftBuilder |
isActive(Boolean active)
Sets the
active property of this builder. |
static ProductSelectionSettingDraftBuilder |
of(ProductSelectionSettingDraft template)
Creates a new object initialized with the fields of the template parameter.
|
static ProductSelectionSettingDraftBuilder |
of(ResourceIdentifier<ProductSelection> productSelection,
Boolean active)
Creates a new object initialized with the given values.
|
ProductSelectionSettingDraftBuilder |
productSelection(ResourceIdentifier<ProductSelection> productSelection)
Sets the
productSelection property of this builder. |
public ProductSelectionSettingDraftBuilder active(Boolean active)
active
property of this builder.active
- the value for ProductSelectionSettingDraft.getActive()
public ProductSelectionSettingDraftBuilder isActive(Boolean active)
active
property of this builder.active
- the value for ProductSelectionSettingDraft.getActive()
public ProductSelectionSettingDraftBuilder productSelection(ResourceIdentifier<ProductSelection> productSelection)
productSelection
property of this builder.productSelection
- the value for ProductSelectionSettingDraft.getProductSelection()
public Boolean getActive()
public ResourceIdentifier<ProductSelection> getProductSelection()
public ProductSelectionSettingDraftDsl build()
ProductSelectionSettingDraftDsl
with the values of this builder.build
in interface Builder<ProductSelectionSettingDraftDsl>
public static ProductSelectionSettingDraftBuilder of(ResourceIdentifier<ProductSelection> productSelection, Boolean active)
productSelection
- initial value for the ProductSelectionSettingDraft.getProductSelection()
propertyactive
- initial value for the ProductSelectionSettingDraft.getActive()
propertypublic static ProductSelectionSettingDraftBuilder of(ProductSelectionSettingDraft template)
template
- the template