public final class CategorySyncOptionsBuilder extends BaseSyncOptionsBuilder<CategorySyncOptionsBuilder,CategorySyncOptions,io.sphere.sdk.categories.Category,io.sphere.sdk.categories.CategoryDraft>
| Modifier and Type | Field and Description |
|---|---|
static int |
BATCH_SIZE_DEFAULT |
allowUuid, batchSize, beforeCreateCallback, beforeUpdateCallback, ctpClient, errorCallback, 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). |
allowUuidKeys, batchSize, beforeCreateCallback, beforeUpdateCallback, errorCallback, warningCallbackpublic 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 CategorySyncOptions build()
CategorySyncOptions enriched with all attributes provided to this
builder.build in class BaseSyncOptionsBuilder<CategorySyncOptionsBuilder,CategorySyncOptions,io.sphere.sdk.categories.Category,io.sphere.sdk.categories.CategoryDraft>CategorySyncOptionsprotected CategorySyncOptionsBuilder getThis()
getThis in class BaseSyncOptionsBuilder<CategorySyncOptionsBuilder,CategorySyncOptions,io.sphere.sdk.categories.Category,io.sphere.sdk.categories.CategoryDraft>