Class ProjectChangeBusinessUnitStatusOnCreationActionBuilder
java.lang.Object
com.commercetools.api.models.project.ProjectChangeBusinessUnitStatusOnCreationActionBuilder
- All Implemented Interfaces:
Builder<ProjectChangeBusinessUnitStatusOnCreationAction>
public class ProjectChangeBusinessUnitStatusOnCreationActionBuilder
extends Object
implements Builder<ProjectChangeBusinessUnitStatusOnCreationAction>
ProjectChangeBusinessUnitStatusOnCreationActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProjectChangeBusinessUnitStatusOnCreationAction projectChangeBusinessUnitStatusOnCreationAction = ProjectChangeBusinessUnitStatusOnCreationAction.builder()
.status(BusinessUnitConfigurationStatus.ACTIVE)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds ProjectChangeBusinessUnitStatusOnCreationAction with checking for non-null required valuesbuilds ProjectChangeBusinessUnitStatusOnCreationAction without checking for non-null required valuesStatus for Business Units created using the My Business Unit endpoint.of()
factory method for an instance of ProjectChangeBusinessUnitStatusOnCreationActionBuildercreate builder for ProjectChangeBusinessUnitStatusOnCreationAction instanceStatus for Business Units created using the My Business Unit endpoint.
-
Constructor Details
-
ProjectChangeBusinessUnitStatusOnCreationActionBuilder
public ProjectChangeBusinessUnitStatusOnCreationActionBuilder()
-
-
Method Details
-
status
public ProjectChangeBusinessUnitStatusOnCreationActionBuilder status(BusinessUnitConfigurationStatus status) Status for Business Units created using the My Business Unit endpoint.
- Parameters:
status
- value to be set- Returns:
- Builder
-
getStatus
Status for Business Units created using the My Business Unit endpoint.
- Returns:
- status
-
build
builds ProjectChangeBusinessUnitStatusOnCreationAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<ProjectChangeBusinessUnitStatusOnCreationAction>
- Returns:
- ProjectChangeBusinessUnitStatusOnCreationAction
-
buildUnchecked
builds ProjectChangeBusinessUnitStatusOnCreationAction without checking for non-null required values- Returns:
- ProjectChangeBusinessUnitStatusOnCreationAction
-
of
factory method for an instance of ProjectChangeBusinessUnitStatusOnCreationActionBuilder- Returns:
- builder
-
of
public static ProjectChangeBusinessUnitStatusOnCreationActionBuilder of(ProjectChangeBusinessUnitStatusOnCreationAction template) create builder for ProjectChangeBusinessUnitStatusOnCreationAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-