public final class ProductTypeSyncOptionsBuilder extends BaseSyncOptionsBuilder<ProductTypeSyncOptionsBuilder,ProductTypeSyncOptions,io.sphere.sdk.producttypes.ProductType,io.sphere.sdk.producttypes.ProductTypeDraft,io.sphere.sdk.producttypes.ProductType>
Modifier and Type | Field and Description |
---|---|
static int |
BATCH_SIZE_DEFAULT |
batchSize, beforeCreateCallback, beforeUpdateCallback, cacheSize, ctpClient, errorCallback, warningCallback
Modifier and Type | Method and Description |
---|---|
ProductTypeSyncOptions |
build()
Creates new instance of
ProductTypeSyncOptions enriched with all attributes provided to
this builder. |
protected ProductTypeSyncOptionsBuilder |
getThis()
Returns an instance of this class to be used in the superclass's generic methods.
|
static ProductTypeSyncOptionsBuilder |
of(io.sphere.sdk.client.SphereClient ctpClient)
Creates a new instance of
ProductTypeSyncOptionsBuilder 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 ProductTypeSyncOptionsBuilder of(@Nonnull io.sphere.sdk.client.SphereClient ctpClient)
ProductTypeSyncOptionsBuilder
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.ProductTypeSyncOptionsBuilder
public ProductTypeSyncOptions build()
ProductTypeSyncOptions
enriched with all attributes provided to
this
builder.build
in class BaseSyncOptionsBuilder<ProductTypeSyncOptionsBuilder,ProductTypeSyncOptions,io.sphere.sdk.producttypes.ProductType,io.sphere.sdk.producttypes.ProductTypeDraft,io.sphere.sdk.producttypes.ProductType>
ProductTypeSyncOptions
protected ProductTypeSyncOptionsBuilder getThis()
getThis
in class BaseSyncOptionsBuilder<ProductTypeSyncOptionsBuilder,ProductTypeSyncOptions,io.sphere.sdk.producttypes.ProductType,io.sphere.sdk.producttypes.ProductTypeDraft,io.sphere.sdk.producttypes.ProductType>