public final class CategorySyncOptionsBuilder extends BaseSyncOptionsBuilder<CategorySyncOptionsBuilder,CategorySyncOptions>
| Modifier and Type | Field and Description |
|---|---|
static int |
BATCH_SIZE_DEFAULT |
allowUuid, batchSize, ctpClient, errorCallBack, removeOtherCollectionEntries, removeOtherLocales, removeOtherProperties, removeOtherSetEntries, warningCallBack| Modifier and Type | Method and Description |
|---|---|
CategorySyncOptions |
build()
Creates new instance of
CategorySyncOptions enriched with all attributes provided to this
builder. |
protected CategorySyncOptionsBuilder |
getThis()
Returns an instance of this class to be used in the super class generic methods.
|
static CategorySyncOptionsBuilder |
of(io.sphere.sdk.client.SphereClient ctpClient)
Creates a new instance of
CategorySyncOptionsBuilder given a SphereClient responsible for
interaction with the target CTP project, with the dafult batch size (BATCH_SIZE_DEFAULT = 50). |
CategorySyncOptionsBuilder |
setUpdateActionsFilter(java.util.function.Function<java.util.List<io.sphere.sdk.commands.UpdateAction<io.sphere.sdk.categories.Category>>,java.util.List<io.sphere.sdk.commands.UpdateAction<io.sphere.sdk.categories.Category>>> updateActionsFilter)
Sets the updateActions filter function which can be applied on generated list of update actions to produce
a resultant list after the filter function has been applied.
|
setAllowUuidKeys, setBatchSize, setErrorCallBack, setRemoveOtherCollectionEntries, setRemoveOtherLocales, setRemoveOtherProperties, setRemoveOtherSetEntries, setWarningCallBackpublic static final int BATCH_SIZE_DEFAULT
public static CategorySyncOptionsBuilder of(@Nonnull io.sphere.sdk.client.SphereClient ctpClient)
CategorySyncOptionsBuilder given a SphereClient responsible for
interaction with the target CTP project, with the dafult batch size (BATCH_SIZE_DEFAULT = 50).ctpClient - instance of the SphereClient responsible for interaction with the target CTP project.CategorySyncOptionsBuilderpublic CategorySyncOptionsBuilder setUpdateActionsFilter(@Nonnull java.util.function.Function<java.util.List<io.sphere.sdk.commands.UpdateAction<io.sphere.sdk.categories.Category>>,java.util.List<io.sphere.sdk.commands.UpdateAction<io.sphere.sdk.categories.Category>>> updateActionsFilter)
updateActionsFilter - filter function which can be applied on generated list of update actionsthis instance of CategorySyncOptionsBuilderpublic CategorySyncOptions build()
CategorySyncOptions enriched with all attributes provided to this
builder.build in class BaseSyncOptionsBuilder<CategorySyncOptionsBuilder,CategorySyncOptions>CategorySyncOptionsprotected CategorySyncOptionsBuilder getThis()
getThis in class BaseSyncOptionsBuilder<CategorySyncOptionsBuilder,CategorySyncOptions>