Class BusinessUnitChangeAssociateModeActionBuilder
java.lang.Object
com.commercetools.api.models.business_unit.BusinessUnitChangeAssociateModeActionBuilder
- All Implemented Interfaces:
Builder<BusinessUnitChangeAssociateModeAction>
public class BusinessUnitChangeAssociateModeActionBuilder
extends Object
implements Builder<BusinessUnitChangeAssociateModeAction>
BusinessUnitChangeAssociateModeActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
BusinessUnitChangeAssociateModeAction businessUnitChangeAssociateModeAction = BusinessUnitChangeAssociateModeAction.builder()
.associateMode(BusinessUnitAssociateMode.EXPLICIT)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionassociateMode
(BusinessUnitAssociateMode associateMode) The new value forassociateMode
.build()
builds BusinessUnitChangeAssociateModeAction with checking for non-null required valuesbuilds BusinessUnitChangeAssociateModeAction without checking for non-null required valuesThe new value forassociateMode
.of()
factory method for an instance of BusinessUnitChangeAssociateModeActionBuilderof
(BusinessUnitChangeAssociateModeAction template) create builder for BusinessUnitChangeAssociateModeAction instance
-
Constructor Details
-
BusinessUnitChangeAssociateModeActionBuilder
public BusinessUnitChangeAssociateModeActionBuilder()
-
-
Method Details
-
associateMode
public BusinessUnitChangeAssociateModeActionBuilder associateMode(BusinessUnitAssociateMode associateMode) The new value for
associateMode
.- Parameters:
associateMode
- value to be set- Returns:
- Builder
-
getAssociateMode
The new value for
associateMode
.- Returns:
- associateMode
-
build
builds BusinessUnitChangeAssociateModeAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<BusinessUnitChangeAssociateModeAction>
- Returns:
- BusinessUnitChangeAssociateModeAction
-
buildUnchecked
builds BusinessUnitChangeAssociateModeAction without checking for non-null required values- Returns:
- BusinessUnitChangeAssociateModeAction
-
of
factory method for an instance of BusinessUnitChangeAssociateModeActionBuilder- Returns:
- builder
-
of
public static BusinessUnitChangeAssociateModeActionBuilder of(BusinessUnitChangeAssociateModeAction template) create builder for BusinessUnitChangeAssociateModeAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-