Class ProjectChangeCustomerSearchStatusActionBuilder
java.lang.Object
com.commercetools.api.models.project.ProjectChangeCustomerSearchStatusActionBuilder
- All Implemented Interfaces:
Builder<ProjectChangeCustomerSearchStatusAction>
public class ProjectChangeCustomerSearchStatusActionBuilder
extends Object
implements Builder<ProjectChangeCustomerSearchStatusAction>
ProjectChangeCustomerSearchStatusActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProjectChangeCustomerSearchStatusAction projectChangeCustomerSearchStatusAction = ProjectChangeCustomerSearchStatusAction.builder()
.status(CustomerSearchStatus.ACTIVATED)
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()builds ProjectChangeCustomerSearchStatusAction with checking for non-null required valuesbuilds ProjectChangeCustomerSearchStatusAction without checking for non-null required valuesActivates or deactivates the Customer Search feature.of()factory method for an instance of ProjectChangeCustomerSearchStatusActionBuilderof(ProjectChangeCustomerSearchStatusAction template) create builder for ProjectChangeCustomerSearchStatusAction instancestatus(CustomerSearchStatus status) Activates or deactivates the Customer Search feature.
-
Constructor Details
-
ProjectChangeCustomerSearchStatusActionBuilder
public ProjectChangeCustomerSearchStatusActionBuilder()
-
-
Method Details
-
status
Activates or deactivates the Customer Search feature. Activation will trigger building a search index for the Customers in the Project.
- Parameters:
status- value to be set- Returns:
- Builder
-
getStatus
Activates or deactivates the Customer Search feature. Activation will trigger building a search index for the Customers in the Project.
- Returns:
- status
-
build
builds ProjectChangeCustomerSearchStatusAction with checking for non-null required values- Specified by:
buildin interfaceBuilder<ProjectChangeCustomerSearchStatusAction>- Returns:
- ProjectChangeCustomerSearchStatusAction
-
buildUnchecked
builds ProjectChangeCustomerSearchStatusAction without checking for non-null required values- Returns:
- ProjectChangeCustomerSearchStatusAction
-
of
factory method for an instance of ProjectChangeCustomerSearchStatusActionBuilder- Returns:
- builder
-
of
public static ProjectChangeCustomerSearchStatusActionBuilder of(ProjectChangeCustomerSearchStatusAction template) create builder for ProjectChangeCustomerSearchStatusAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-