Class BusinessUnitChangeStatusActionBuilder
java.lang.Object
com.commercetools.api.models.business_unit.BusinessUnitChangeStatusActionBuilder
- All Implemented Interfaces:
Builder<BusinessUnitChangeStatusAction>
public class BusinessUnitChangeStatusActionBuilder
extends Object
implements Builder<BusinessUnitChangeStatusAction>
BusinessUnitChangeStatusActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
BusinessUnitChangeStatusAction businessUnitChangeStatusAction = BusinessUnitChangeStatusAction.builder()
.status("{status}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds BusinessUnitChangeStatusAction with checking for non-null required valuesbuilds BusinessUnitChangeStatusAction without checking for non-null required valuesNew status to set.of()
factory method for an instance of BusinessUnitChangeStatusActionBuilderof
(BusinessUnitChangeStatusAction template) create builder for BusinessUnitChangeStatusAction instanceNew status to set.
-
Constructor Details
-
BusinessUnitChangeStatusActionBuilder
public BusinessUnitChangeStatusActionBuilder()
-
-
Method Details
-
status
New status to set.
- Parameters:
status
- value to be set- Returns:
- Builder
-
getStatus
New status to set.
- Returns:
- status
-
build
builds BusinessUnitChangeStatusAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<BusinessUnitChangeStatusAction>
- Returns:
- BusinessUnitChangeStatusAction
-
buildUnchecked
builds BusinessUnitChangeStatusAction without checking for non-null required values- Returns:
- BusinessUnitChangeStatusAction
-
of
factory method for an instance of BusinessUnitChangeStatusActionBuilder- Returns:
- builder
-
of
create builder for BusinessUnitChangeStatusAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-