public final class CustomerSyncOptionsBuilder extends BaseSyncOptionsBuilder<CustomerSyncOptionsBuilder,CustomerSyncOptions,io.sphere.sdk.customers.Customer,io.sphere.sdk.customers.CustomerDraft,io.sphere.sdk.customers.Customer>
Modifier and Type | Field and Description |
---|---|
static int |
BATCH_SIZE_DEFAULT |
batchSize, beforeCreateCallback, beforeUpdateCallback, cacheSize, ctpClient, errorCallback, warningCallback
Modifier and Type | Method and Description |
---|---|
CustomerSyncOptions |
build()
Creates a new instance of
CustomerSyncOptions enriched with all attributes provided to
this builder. |
protected CustomerSyncOptionsBuilder |
getThis()
Returns an instance of this class to be used in the superclass's generic methods.
|
static CustomerSyncOptionsBuilder |
of(io.sphere.sdk.client.SphereClient ctpClient)
Creates a new instance of
CustomerSyncOptionsBuilder given a SphereClient
responsible for interaction with the target CTP project, with the default batch size (BATCH_SIZE_DEFAULT = 50). |
batchSize, beforeCreateCallback, beforeUpdateCallback, cacheSize, errorCallback, warningCallback
public static final int BATCH_SIZE_DEFAULT
public static CustomerSyncOptionsBuilder of(@Nonnull io.sphere.sdk.client.SphereClient ctpClient)
CustomerSyncOptionsBuilder
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.CustomerSyncOptionsBuilder
public CustomerSyncOptions build()
CustomerSyncOptions
enriched with all attributes provided to
this
builder.build
in class BaseSyncOptionsBuilder<CustomerSyncOptionsBuilder,CustomerSyncOptions,io.sphere.sdk.customers.Customer,io.sphere.sdk.customers.CustomerDraft,io.sphere.sdk.customers.Customer>
CustomerSyncOptions
protected CustomerSyncOptionsBuilder getThis()
getThis
in class BaseSyncOptionsBuilder<CustomerSyncOptionsBuilder,CustomerSyncOptions,io.sphere.sdk.customers.Customer,io.sphere.sdk.customers.CustomerDraft,io.sphere.sdk.customers.Customer>