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