Class ChangeStatusUpdateActionBuilder
java.lang.Object
com.commercetools.ml.models.image_search_config.ChangeStatusUpdateActionBuilder
- All Implemented Interfaces:
Builder<ChangeStatusUpdateAction>
public class ChangeStatusUpdateActionBuilder
extends Object
implements Builder<ChangeStatusUpdateAction>
ChangeStatusUpdateActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ChangeStatusUpdateAction changeStatusUpdateAction = ChangeStatusUpdateAction.builder()
.status(ImageSearchConfigStatus.ON)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds ChangeStatusUpdateAction with checking for non-null required valuesbuilds ChangeStatusUpdateAction without checking for non-null required valuesvalue of status}of()
factory method for an instance of ChangeStatusUpdateActionBuilderof
(ChangeStatusUpdateAction template) create builder for ChangeStatusUpdateAction instancestatus
(ImageSearchConfigStatus status) set the value to the status
-
Constructor Details
-
ChangeStatusUpdateActionBuilder
public ChangeStatusUpdateActionBuilder()
-
-
Method Details
-
status
set the value to the status- Parameters:
status
- value to be set- Returns:
- Builder
-
getStatus
value of status}- Returns:
- status
-
build
builds ChangeStatusUpdateAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<ChangeStatusUpdateAction>
- Returns:
- ChangeStatusUpdateAction
-
buildUnchecked
builds ChangeStatusUpdateAction without checking for non-null required values- Returns:
- ChangeStatusUpdateAction
-
of
factory method for an instance of ChangeStatusUpdateActionBuilder- Returns:
- builder
-
of
create builder for ChangeStatusUpdateAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-