public final class TypeSyncOptionsBuilder extends BaseSyncOptionsBuilder<TypeSyncOptionsBuilder,TypeSyncOptions,io.sphere.sdk.types.Type,io.sphere.sdk.types.TypeDraft>
| Modifier and Type | Field and Description |
|---|---|
static int |
BATCH_SIZE_DEFAULT |
batchSize, beforeCreateCallback, beforeUpdateCallback, ctpClient, errorCallback, warningCallback| Modifier and Type | Method and Description |
|---|---|
TypeSyncOptions |
build()
Creates new instance of
TypeSyncOptions enriched with all fields provided to this builder. |
protected TypeSyncOptionsBuilder |
getThis()
Returns an instance of this class to be used in the superclass's generic methods.
|
static TypeSyncOptionsBuilder |
of(io.sphere.sdk.client.SphereClient ctpClient)
Creates a new instance of
TypeSyncOptionsBuilder given a SphereClient responsible for
interaction with the target CTP project, with the default batch size (BATCH_SIZE_DEFAULT = 50). |
batchSize, beforeCreateCallback, beforeUpdateCallback, errorCallback, warningCallbackpublic static final int BATCH_SIZE_DEFAULT
public static TypeSyncOptionsBuilder of(@Nonnull io.sphere.sdk.client.SphereClient ctpClient)
TypeSyncOptionsBuilder given a SphereClient responsible for
interaction with the target CTP project, with the default batch size (BATCH_SIZE_DEFAULT = 50).ctpClient - instance of the SphereClient responsible for interaction with the target CTP project.TypeSyncOptionsBuilderpublic TypeSyncOptions build()
TypeSyncOptions enriched with all fields provided to this builder.build in class BaseSyncOptionsBuilder<TypeSyncOptionsBuilder,TypeSyncOptions,io.sphere.sdk.types.Type,io.sphere.sdk.types.TypeDraft>TypeSyncOptionsprotected TypeSyncOptionsBuilder getThis()
getThis in class BaseSyncOptionsBuilder<TypeSyncOptionsBuilder,TypeSyncOptions,io.sphere.sdk.types.Type,io.sphere.sdk.types.TypeDraft>