@Generated(value="io.sphere.sdk.annotations.processors.generators.ResourceDraftValueGenerator", comments="Generated from: io.sphere.sdk.stores.StoreDraft") public final class StoreDraftDsl extends Base implements StoreDraft
StoreDraft.@Nullable public CustomFieldsDraft getCustom()
getCustom in interface StoreDraftgetCustom in interface CustomDraft@Nullable public List<ResourceIdentifier<Channel>> getDistributionChannels()
getDistributionChannels in interface StoreDraftpublic String getKey()
getKey in interface WithKeygetKey in interface StoreDraft@Nullable public List<String> getLanguages()
getLanguages in interface StoreDraft@Nullable public LocalizedString getName()
getName in interface StoreDraft@Nullable public List<ProductSelectionSettingDraft> getProductSelections()
getProductSelections in interface StoreDraft@Nullable public List<ResourceIdentifier<Channel>> getSupplyChannels()
getSupplyChannels in interface StoreDraftpublic StoreDraftBuilder newBuilder()
public StoreDraftDsl withCustom(@Nullable CustomFieldsDraft custom)
public StoreDraftDsl withDistributionChannels(@Nullable List<ResourceIdentifier<Channel>> distributionChannels)
public StoreDraftDsl withKey(String key)
public StoreDraftDsl withLanguages(@Nullable List<String> languages)
public StoreDraftDsl withName(@Nullable LocalizedString name)
public StoreDraftDsl withProductSelections(@Nullable List<ProductSelectionSettingDraft> productSelections)
public StoreDraftDsl withSupplyChannels(@Nullable List<ResourceIdentifier<Channel>> supplyChannels)
public static StoreDraftDsl of(String key)
key - initial value for the StoreDraft.getKey() propertypublic static StoreDraftDsl of(String key, @Nullable LocalizedString name)
of in interface StoreDraftkey - initial value for the StoreDraft.getKey() propertyname - initial value for the StoreDraft.getName() propertypublic static StoreDraftDsl of(String key, @Nullable LocalizedString name, @Nullable List<String> languages)
key - initial value for the StoreDraft.getKey() propertyname - initial value for the StoreDraft.getName() propertylanguages - initial value for the StoreDraft.getLanguages() propertypublic static StoreDraftDsl of(StoreDraft template)
template - the template