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