Interface ProjectChangeProductSearchIndexingEnabledAction
- All Superinterfaces:
ProjectUpdateAction
,ResourceUpdateAction<ProjectUpdateAction>
ProjectChangeProductSearchIndexingEnabledAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProjectChangeProductSearchIndexingEnabledAction projectChangeProductSearchIndexingEnabledAction = ProjectChangeProductSearchIndexingEnabledAction.builder()
.enabled(true)
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for ProjectChangeProductSearchIndexingEnabledAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ProjectChangeProductSearchIndexingEnabledActioncreate builder for ProjectChangeProductSearchIndexingEnabledAction instancefactory method to create a deep copy of ProjectChangeProductSearchIndexingEnabledAction@NotNull Boolean
Iffalse
, the indexing of Product information will stop and the Product Projection Search as well as the Product Suggestions endpoint will not be available anymore for this Project.getMode()
Controls whether the action should apply to Product Projection Search or to Product Search.of()
factory methodfactory method to create a shallow copy ProjectChangeProductSearchIndexingEnabledActionvoid
setEnabled
(Boolean enabled) Iffalse
, the indexing of Product information will stop and the Product Projection Search as well as the Product Suggestions endpoint will not be available anymore for this Project.void
Controls whether the action should apply to Product Projection Search or to Product Search.static com.fasterxml.jackson.core.type.TypeReference<ProjectChangeProductSearchIndexingEnabledAction>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withProjectChangeProductSearchIndexingEnabledAction
(Function<ProjectChangeProductSearchIndexingEnabledAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.project.ProjectUpdateAction
getAction, withProjectUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Field Details
-
CHANGE_PRODUCT_SEARCH_INDEXING_ENABLED
discriminator value for ProjectChangeProductSearchIndexingEnabledAction- See Also:
-
-
Method Details
-
getEnabled
- If
false
, the indexing of Product information will stop and the Product Projection Search as well as the Product Suggestions endpoint will not be available anymore for this Project. The Project's SearchIndexingConfigurationstatus
forproducts
will be changed to"Deactivated"
. - If
true
, the indexing of Product information will start and the Product Projection Search as well as the Product Suggestions endpoint will become available soon after for this Project. Proportional to the amount of information being indexed, the Project's SearchIndexingConfigurationstatus
forproducts
will be shown as"Indexing"
during this time. As soon as the indexing has finished, the configuration status will be changed to"Activated"
making the aforementioned endpoints fully available for this Project.
- Returns:
- enabled
- If
-
getMode
ProductSearchIndexingMode getMode()Controls whether the action should apply to Product Projection Search or to Product Search.
- Returns:
- mode
-
setEnabled
- If
false
, the indexing of Product information will stop and the Product Projection Search as well as the Product Suggestions endpoint will not be available anymore for this Project. The Project's SearchIndexingConfigurationstatus
forproducts
will be changed to"Deactivated"
. - If
true
, the indexing of Product information will start and the Product Projection Search as well as the Product Suggestions endpoint will become available soon after for this Project. Proportional to the amount of information being indexed, the Project's SearchIndexingConfigurationstatus
forproducts
will be shown as"Indexing"
during this time. As soon as the indexing has finished, the configuration status will be changed to"Activated"
making the aforementioned endpoints fully available for this Project.
- Parameters:
enabled
- value to be set
- If
-
setMode
Controls whether the action should apply to Product Projection Search or to Product Search.
- Parameters:
mode
- value to be set
-
of
factory method- Returns:
- instance of ProjectChangeProductSearchIndexingEnabledAction
-
of
static ProjectChangeProductSearchIndexingEnabledAction of(ProjectChangeProductSearchIndexingEnabledAction template) factory method to create a shallow copy ProjectChangeProductSearchIndexingEnabledAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ProjectChangeProductSearchIndexingEnabledAction deepCopy(@Nullable ProjectChangeProductSearchIndexingEnabledAction template) factory method to create a deep copy of ProjectChangeProductSearchIndexingEnabledAction- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProjectChangeProductSearchIndexingEnabledAction- Returns:
- builder
-
builder
static ProjectChangeProductSearchIndexingEnabledActionBuilder builder(ProjectChangeProductSearchIndexingEnabledAction template) create builder for ProjectChangeProductSearchIndexingEnabledAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withProjectChangeProductSearchIndexingEnabledAction
default <T> T withProjectChangeProductSearchIndexingEnabledAction(Function<ProjectChangeProductSearchIndexingEnabledAction, T> helper) accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<ProjectChangeProductSearchIndexingEnabledAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-