Class ProjectChangeProductSearchIndexingEnabledActionBuilder
java.lang.Object
com.commercetools.api.models.project.ProjectChangeProductSearchIndexingEnabledActionBuilder
- All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<ProjectChangeProductSearchIndexingEnabledAction>
public class ProjectChangeProductSearchIndexingEnabledActionBuilder
extends Object
implements io.vrap.rmf.base.client.Builder<ProjectChangeProductSearchIndexingEnabledAction>
ProjectChangeProductSearchIndexingEnabledActionBuilder
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()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds ProjectChangeProductSearchIndexingEnabledAction with checking for non-null required valuesbuilds ProjectChangeProductSearchIndexingEnabledAction without checking for non-null required valuesIffalse
, 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.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.of()
factory method for an instance of ProjectChangeProductSearchIndexingEnabledActionBuildercreate builder for ProjectChangeProductSearchIndexingEnabledAction instance
-
Constructor Details
-
ProjectChangeProductSearchIndexingEnabledActionBuilder
-
-
Method Details
-
enabled
- 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- Returns:
- Builder
- If
-
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
-
build
builds ProjectChangeProductSearchIndexingEnabledAction with checking for non-null required values- Specified by:
build
in interfaceio.vrap.rmf.base.client.Builder<ProjectChangeProductSearchIndexingEnabledAction>
- Returns:
- ProjectChangeProductSearchIndexingEnabledAction
-
buildUnchecked
builds ProjectChangeProductSearchIndexingEnabledAction without checking for non-null required values- Returns:
- ProjectChangeProductSearchIndexingEnabledAction
-
of
factory method for an instance of ProjectChangeProductSearchIndexingEnabledActionBuilder- Returns:
- builder
-
of
public static ProjectChangeProductSearchIndexingEnabledActionBuilder of(ProjectChangeProductSearchIndexingEnabledAction template) create builder for ProjectChangeProductSearchIndexingEnabledAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-